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]

Declaration clashing


I am getting this error now:

/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/string.h:27: \
warning: declaration of `void * memcpy(void *, void *, unsigned int)'

/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/string.h:27: \
warning: conflicts with built-in declaration `void * memcpy(void *, const void *, unsigned int)'

How are the headers conflicting?  I see that one is const and the other isn't. 

How do I resolve this issue?

Are my headers messed up?

Thanks,

Matt

Cthulhu for President. Why settle for a lesser evil?

=========================================================
Preferred Resources          (314) 567-7600 phone
701 Emerson rd.              (314) 993-6699 fax
Suite 475                      mminnis@prefres.com
St. Louis, MO                
63141
=========================================================
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]