A question for built-in functions..
Ish Rattan
ishwar@pali.cps.cmich.edu
Fri Feb 22 12:35:00 GMT 2002
System is Solaris-8 (SunBalde-100) running gcc-2.95.2.
The following program (main.c) when compiled with -c produces the
error of type
main.c: 3: warning: conflicting types for built-in function `strlen'
---
#include <stdio.h>
int strlen(char *str);
int main()
{
exit(0);
}
---
Does it imply that one can't redfine the functions that are part
standard library? Have they become some-kind of reserved symbols?
Also, does any one know if gdb-5.1 has suooprt for 64-bit binaries
produced by a 64-bit gcc-3.0.3 under SPARC? (I did ask it earlier.)
-ishwar
More information about the Gcc-help
mailing list