Le 27 mars 04, à 20:20, Henrik Grubbström (Lysator) @ Pike (-) developers forum a écrit :
This is really bad... This make all pike C modules now incompatible between pike version... ;(
Not for normal usage; a corresponding .pmod is automatically generated.
normal usage yes... eg pike C modules generated *inside* pike source code.
but outside that, eg custom pike C modules made (hardly) by hand, the .pmod is not automatically generated.
Very bad thing for pexts, and all hardly developped pike modules in C...
So bad there is no warning on this important code change...
We will add lots of #ifdef but, this is bad ;(
I don't see why you would need any changes.
to replace ADD_FUNCTION() to add_function_constant() to workaround this change.
NB: The reason for the change is to reduce the differences between dynamic and static modules.
This one is good.... but external (home made) modules are allways dynamic modules (eg .so)...
/Xavier -- Xavier Beaudouin - Unix System Administrator & Projects Leader. President of Kazar Organization : http://www.kazar.net/ Please visit http://caudium.net/, home of Caudium & Camas projects