egcs-1.1.2 on HP-UX 11

Richard Allen ra@hp.is
Sat May 15 14:55:00 GMT 1999


I just installed egcs, using gas from binutils 2.9.1 on HP-UX.  Everything
seems to be just fine except for a set of warnings I keep getting:
g++ -c -I/users/ra/kde/qt-1.44/include -Wno-unused -Wno-parentheses -O2 -fno-strength-reduce  -o mocgen.o mocgen.cpp
In file included from /users/ra/kde/qt-1.44/include/qstring.h:32,
                 from moc.y:34:
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux11.00/egcs-2.91.66/include/string.h:29: warning: declaration of `int memcmp(const void *, const void *, size_t)'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux11.00/egcs-2.91.66/include/string.h:29: warning: conflicts with built-in declaration `int memcmp(const void *, const void *, unsigned int)'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux11.00/egcs-2.91.66/include/string.h:85: warning: declaration of `void * memcpy(void *, const void *, size_t)'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux11.00/egcs-2.91.66/include/string.h:85: warning: conflicts with built-in declaration `void * memcpy(void *, const void *, unsigned int)'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux11.00/egcs-2.91.66/include/string.h:93: warning: declaration of `size_t strlen(const char *)'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux11.00/egcs-2.91.66/include/string.h:93: warning: conflicts with built-in declaration `unsigned int strlen(const char *)'

I'm not sure what this does for my compiles, but I just wanted to let you
know.

-- 
Rikki.         --  HP Technical Support, RHCE.
Bell Labs Unix --  Reach out and grep someone.
Those who do not understand Unix are condemned to reinvent it, poorly.


More information about the Gcc-bugs mailing list