https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17995

--- Comment #16 from Cary Lewis <cary.lewis at gmail dot com> ---
Sorry, here is the output of the command that generates the error during make
bootstrap.

I appreciate the help very much.

Here is the configure command:

../gcc-3.4.3/configure --prefix=/usr/local/gcc-3.4.3x --enable-languages=c,c++
--with-gnu-as

+ cd /tmp/gcc-build/i686-pc-sco3.2v5.0.7/pic/libstdc++-v3/libsupc++
+ /tmp/gcc-build/gcc/xgcc -save-temps -shared-libgcc -B/tmp/gcc-build/gcc/
-nostdinc++ -L/tmp/gcc-build/i686-pc-sco3.2v5.0.7/pic/libstdc++-v3/src
-L/tmp/gcc-build/i686-pc-sco3.2v5.0.7/pic/libstdc++-v3/src/.libs
-B/usr/local/gcc-3.4.3x/i686-pc-sco3.2v5.0.7/bin/
-B/usr/local/gcc-3.4.3x/i686-pc-sco3.2v5.0.7/lib/ -isystem
/usr/local/gcc-3.4.3x/i686-pc-sco3.2v5.0.7/include -isystem
/usr/local/gcc-3.4.3x/i686-pc-sco3.2v5.0.7/sys-include -fPIC
-I/tmp/gcc-3.4.3/libstdc++-v3/../gcc
-I/tmp/gcc-build/i686-pc-sco3.2v5.0.7/pic/libstdc++-v3/include/i686-pc-sco3.2v5.0.7
-I/tmp/gcc-build/i686-pc-sco3.2v5.0.7/pic/libstdc++-v3/include
-I/tmp/gcc-3.4.3/libstdc++-v3/libsupc++ -O2 -g -O2 -g -O2 -fPIC
-fno-implicit-templates -Wall -W -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -c
../../../../../gcc-3.4.3/libstdc++-v3/libsupc++/eh_alloc.cc -o eh_alloc.o
In file included from
../../../../../gcc-3.4.3/libstdc++-v3/libsupc++/eh_alloc.cc:34:
/tmp/gcc-build/i686-pc-sco3.2v5.0.7/pic/libstdc++-v3/include/cstring: In
function `void* std::memchr(void*, int, size_t)':
/tmp/gcc-build/i686-pc-sco3.2v5.0.7/pic/libstdc++-v3/include/cstring:101:
error: `void* std::memchr(void*, int, size_t)' conflicts with previous using
declaration `void* memchr(void*, int, size_t)'
/tmp/gcc-build/i686-pc-sco3.2v5.0.7/pic/libstdc++-v3/include/cstring: In
function `char* std::strchr(char*, int)':
/tmp/gcc-build/i686-pc-sco3.2v5.0.7/pic/libstdc++-v3/include/cstring:107:
error: `char* std::strchr(char*, int)' conflicts with previous using
declaration `char* strchr(char*, int)'
/tmp/gcc-build/i686-pc-sco3.2v5.0.7/pic/libstdc++-v3/include/cstring: In
function `char* std::strpbrk(char*, const char*)':
/tmp/gcc-build/i686-pc-sco3.2v5.0.7/pic/libstdc++-v3/include/cstring:113:
error: `char* std::strpbrk(char*, const char*)' conflicts with previous using
declaration `char* strpbrk(char*, const char*)'
/tmp/gcc-build/i686-pc-sco3.2v5.0.7/pic/libstdc++-v3/include/cstring: In
function `char* std::strrchr(char*, int)':
/tmp/gcc-build/i686-pc-sco3.2v5.0.7/pic/libstdc++-v3/include/cstring:119:
error: `char* std::strrchr(char*, int)' conflicts with previous using
declaration `char* strrchr(char*, int)'
/tmp/gcc-build/i686-pc-sco3.2v5.0.7/pic/libstdc++-v3/include/cstring: In
function `char* std::strstr(char*, const char*)':
/tmp/gcc-build/i686-pc-sco3.2v5.0.7/pic/libstdc++-v3/include/cstring:125:
error: `char* std::strstr(char*, const char*)' conflicts with previous using
declaration `char* strstr(char*, const char*)'

There are commands in the include files that attempt to undef the various c
defines, but undef won't undo a function prototype.

Let me know if there any any tests you want me to perform.

Reply via email to