built-in declaration conflicts on SunOS & VxWorks targets.

Mike Stump mrs@wrs.com
Tue Feb 17 15:35:00 GMT 1998


> Date: Mon, 16 Feb 1998 15:53:21 -0500 (EST)
> From: "Brad M. Garcia" <bgarcia@fore.com>

> 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.

I'll help with the VxWorks targets, if you give me a complete bug
report.



More information about the Gcc-bugs mailing list