built-in declaration conflicts

Brad M. Garcia bgarcia@fore.com
Thu Feb 12 04:26:00 GMT 1998


On a sunos4.1.4 machine, I keep getting warnings like:

/usr/include/string.h:20: warning: declaration of `int strlen(...)'
/usr/include/string.h:20: warning: conflicts with built-in declaration `unsigned int strlen(const char *)'

/usr/include/stdlib.h:18: warning: declaration of `int abort(...)'
/usr/include/stdlib.h:18: warning: conflicts with built-in declaration `void abort()'

/usr/include/stdlib.h:26: warning: declaration of `int exit(...)'
/usr/include/stdlib.h:26: warning: conflicts with built-in declaration `void exit(int)'

Am I doing something wrong when using or configuring egcs?

Brad Garcia
   ___/  __ /  __ /  ___/ "Being the Linux of digital media
  __/   /  /  / _/  __/    would be a very good life."
_/    ____/ _/ _| ____/      - Jean-Louis Gassee, CEO of Be, Inc.




More information about the Gcc mailing list