This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/2254
- To: nobody at gcc dot gnu dot org
- Subject: Re: c++/2254
- From: benjamin kosnik <bkoz at nabi dot net>
- Date: 12 Mar 2001 18:46:04 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: benjamin kosnik <bkoz at nabi dot net>
The following reply was made to PR c++/2254; it has been noted by GNATS.
From: benjamin kosnik <bkoz@nabi.net>
To: gcc-gnats@gcc.gnu.org, steven@la-france.net, nobody@gcc.gnu.org
Cc:
Subject: Re: c++/2254
Date: Mon, 12 Mar 2001 10:43:24 -0800
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2254&database=gcc
This bug report is near-useless. Here's how you can make it better:
1) just enclose the relevant bits of the make output:
g++ -c -I/usr/X11R6/include -I/usr/local/qt/include
-I/usr/X11R6/include -pipe -g -fPIC -DQT_BUILTIN_GIF_READER=1
-DQT_NO_IMAGEIO_JPEG -DQT_NO_IMAGEIO_MNG
-I/usr/local/qt/src/3rdparty/zlib -I/usr/local/qt/src/3rdparty/libpng
-I/usr/X11R6/include -o dialogs/qfiledialog.o dialogs/qfiledialog.cpp
In file included from dialogs/qfiledialog.cpp:49:
/usr/local/qt/include/qlayout.h:156: Internal compiler error.
/usr/local/qt/include/qlayout.h:156: Please submit a full bug report.
/usr/local/qt/include/qlayout.h:156: See
<URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
cpp: output pipe has been closed
make[2]: *** [dialogs/qfiledialog.o] Error 1
make[2]: Leaving directory `/usr/local/qt/src'
make[1]: *** [sub-src] Error 2
make[1]: Leaving directory `/usr/local/qt'
make: *** [init] Error 2
2) include pre-processed bits from the file the failed to compile.
ie 'g++ -E dialogs/qfiledialog.cpp'
3) narrow down the code to find the smallest possible example causing
the crash.
thanks,
benjamin