Le vendredi, 7 fév 2003, à 02:00 Europe/Paris, Martin Nilsson (Åskblod) @ Pike (-) developers forum a écrit :
Compatibility issues should be taken care of by #pike.
I think this is too easy to says "use #pike 7.x to have you old code works".
I just give you an little example: on caudium there is a server/config_action/ftpstatus.pike that use clone() call.
Adding a #pike 7.2 make it compile. But not running. This is not a big issue you know, but compatibility is not the unique solution. The solution is to make code that use non specific calls... And to be aware that such call are in all versions of Pike.
When I am doing some Pike code, for 7.2 and 7.4 for example, I have to check manualy in hilfe if " this interressing call in 7.4 does exist on 7.2 (or 7.0) and if it working well". Most times I have to dig into both pike 7.2 and 7.4 source code (even in C) to see the differences when I have no clues.
Another example, does Remote.client/server are working indently of pike version you have ? (eg does Remote.server - pike 7.4 - can have successfull connections from a Remote.client using pike 7.2 ?)
Mu 0,02€. /Xavier