Follows Non-Static Declaration

error static declaration of 'strdup' follows nonstatic declaration

Follows Non-Static Declaration. This construct is not accepted by some traditional c compilers. Web when compiling, i get the following error:

error static declaration of 'strdup' follows nonstatic declaration
error static declaration of 'strdup' follows nonstatic declaration

Web kolinfluence changed the title error: Web thanks for you reply, ive removed the main definition from the header and it gets rid of the conflicting definitions. Web when compiling, i get the following error: Static declaration of '__gettextlex' follows. This construct is not accepted by some traditional c compilers. Web i'm trying to compile the same c file on two different machines with different versions of cc. Gcc version 3.2.3 says warning: Web the system under which the offending code was developed did not properly define gettid() which is why we. Web now i getting another error:

Static declaration of '__gettextlex' follows. Web the system under which the offending code was developed did not properly define gettid() which is why we. Web kolinfluence changed the title error: Web i'm trying to compile the same c file on two different machines with different versions of cc. Gcc version 3.2.3 says warning: Web now i getting another error: Web thanks for you reply, ive removed the main definition from the header and it gets rid of the conflicting definitions. This construct is not accepted by some traditional c compilers. Web when compiling, i get the following error: Static declaration of '__gettextlex' follows.