built-in declaration conflicts on SunOS & VxWorks targets.

Brad M. Garcia bgarcia@fore.com
Mon Feb 16 12:50: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?
I have the same problem with VxWorks targets.

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-bugs mailing list