This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
2.95.1 #include bug...
- To: gcc-bugs at gcc dot gnu dot org
- Subject: 2.95.1 #include bug...
- From: "Nils Lohner" <lohner at debian dot org>
- Date: Mon, 03 Jan 2000 12:19:56 +0100
- Reply-To: "Nils Lohner" <lohner at debian dot org>
Apparently there's a bug in how the existing includes get detected... I plan
to try 2.95.2 in January when I return from vacation.
Regards, Nils.
/sup/build/ddd-3.1.6 > make -k
==> Making all in ./ddd...
make[1]: Entering directory `/sup/build/ddd-3.1.6/ddd'
Building ddd-3.1.6-sparc-sun-solaris2.7...
c++ -DHAVE_CONFIG_H -DNDEBUG -O2 -g -W -Wall -felide-constructors
-fconserve-space -trigraphs -c -I. -I. -I./.. -I/sup/include -I/usr/include
-I/usr/openwin/include -o ArcBox.o ArcBox.C
In file included from ArcBox.C:47:
/usr/include/math.h:75: redefinition of `class exception'
/home2/tools/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/include/exception:18:
previous definition here
/usr/include/math.h:81: confused by earlier errors, bailing out
make[1]: *** [ArcBox.o] Error 1
/sup/build/ddd-3.1.6 > gcc --version
2.95.1
/sup/build/ddd-3.1.6 > uname -a
SunOS bernin 5.7 Generic_106541-02 sun4m sparc SUNW,SPARCstation-5