After reading precompile.pike I figured out that my cmod misses a DECLARATIONS statement. Not sure why I did not read about that before.. but apparently pike 7.6 did not need it.
arne
On Sun, 10 Aug 2008, Arne Goedeke wrote:
Not sure if that is a problem. Also compilation breaks because in the .c generated by precompile from the .cmod a define for DEFAULT_CMOD_STORAGE is missing. The compile complains about lines like:
DEFAULT_CMOD_STORAGE ptrdiff_t f_validate_fun_num = 0; DEFAULT_CMOD_STORAGE void f_validate(INT32 args) {