From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020625 Description of problem: If a .cpp has #include <string> in it when using gcc 2.96 instead of gcc 3.1 the compile will fail. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Compile something with g++296 Actual Results: Won't compile Expected Results: For it to compile Additional info: I am trying to compile Galeon 1.2.5-3 with g++296, because I have compiled Mozilla 1.0.1-5 with g++296. I compiled Mozilla with g++296, because I want backward compatibility with Mozilla plugins. I changed if [ ! -f configure ]; then CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{prefix} \ and else CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} \ to if [ ! -f configure ]; then HOST_CC=gcc296 HOST_CXX=g++296 CC=gcc296 CCC=g++296 CXX=g++296 \ CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%{prefix} \ and else HOST_CC=gcc296 HOST_CXX=g++296 CC=gcc296 CCC=g++296 CXX=g++296 \ CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} \ in galeon-1.2.5.spec. So during the build of the rpm it would use gcc 2.96 instead of gcc 3.1. The file in Galeon 1.2.5 that has #include <string> at the top in an if statement is src/mozilla/TOCProtocolHandler.cpp The actual error message during the compile is TOCProtocolHandler.cpp:33:23: /usr/include/mozilla-1.0.1/string is a directory
I was able to compile galeon-1.2.5-3 with the Mozilla 1.0.1-5 rpms I compiled under Limbo on a RedHat 7.3 box.