This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bug in gcc
- To: gcc-bugs at gcc dot gnu dot org
- Subject: bug in gcc
- From: Francisco Martín <paco at localhost dot localdomain>
- Date: Mon, 27 Nov 2000 13:21:34 +0100
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.0)
when I compile with
CC = g++
SRCS = ajuste.cpp
DST = ajuste
$(CC) -o $(DST) $(SRCS) -O -I/usr/X11R6/include -I/usr/lib/glib/include -I/usr/local/include -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext -ljpeg -lpng -ltiff -lz -lgif -lglib -lgdk -lm -lgdk_imlib
the output is:
g++ -o ajuste ajuste.cpp -O -I/usr/X11R6/include -I/usr/lib/glib/include -I/usr/local/include -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lXext -ljpeg -lpng -ltiff -lz -lgif -lglib -lgdk -lm -lgdk_imlib
In file included from ajuste.cpp:2:
/usr/include/Matrix.h: In instantiation of `math::matrix<double>':
CMarcados.cpp:83: instantiated from here
/usr/include/Matrix.h:273: invalid use of undefined type `class
math::matrix<double>'
/usr/include/Matrix.h:236: forward declaration of `class
math::matrix<double>'
/usr/include/Matrix.h:273: Internal compiler error in tsubst_decl, at
../gcc/cp/pt.c:5679