warning: conflicting types for built-in function bcopy

Sean Estabrooks seanlkml@rogers.com
Thu Oct 16 12:44:00 GMT 2003


Hi folks,

I'm wondering why compiling this:

bcopy(char x) 
{ }
main() 
{ }

leads to this warning:
1: warning: conflicting types for built-in function `bcopy'

with either of these compilers supplied with Redhat:
gcc (GCC) 3.3.1 20030930 (Red Hat Linux 3.3.1-6)
gcc32 (GCC) 3.2.3 20030422 (Red Hat Linux 3.2.3-6)

The only reference i found for gcc bcopy options were for 
the pdp-11.

Any tips or pointers to the proper documentation on how to 
remove this warning without renaming the bcopy function  
would be much appreciated.

TIA,
Sean



More information about the Gcc mailing list