Carlos Nieves Ónega wrote:
There is still a compiler warning related with the new file s_encoding.nw: When compiling, the compiler tells: ../noweb/s_encoding.nw: In function 's_encoding_base64_decode': ../noweb/s_encoding.nw:233: warning: implicit declaration of function 'strlen' ../noweb/s_encoding.nw:233: warning: incompatible implicit declaration of built-in function 'strlen' The function strlen is declared in string.h, I think. At the beginning of the s_encoding.nw file, I put the include clause: #ifdef HAVE_STRING_H #include <string.h> #endif If I remove the #ifdef clause, so it always includes the string.h file, the compiler warning goes away... The other source files uses this and all is working fine, so I didn't removed the #ifdef clause... but I don't know why this is happening. Any ideas?
is there a #ifdef HAVE_CONFIG_H #include "config.h" #endif at the top? -Dan