This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

warning: conflicting types for built-in function bcopy


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]