internal compiler error
Klaas Freitag
Skullone@t-online.de
Sat Apr 1 12:49:00 GMT 2000
Hi,
Although I think this bug is the same as mentioned on the 'Freq.
reported
bugs-page' concerning 'Using declarations in classes do not work', I
send
this bug, JFYI.
All I did was adding the line
typedef enum { ID_SANE_DEBUG, ID_QT_IMGIO } VirtScanMode;
to a simple C++ class definition:
It looked like:
class blabla( .. )
{
.. much bla bla ...
void slVirtScanModeSelect( int id );
private:
typedef enum { ID_SANE_DEBUG, ID_QT_IMGIO } VirtScanMode; /** bang
here */
void scannerParams( QVBoxLayout *top );
void virtualScannerParams( QVBoxLayout *top );
... more blabla
}
Attached you find the ii-file and the compiler output.
Have fun,
Klaas
scanparams.ii.bz2
kf@helios:~/work/ksanetest/ksanetest > g++ -v --save-temps -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt/include -I/usr/X11R6/include -O0 -g3 -Wall -c scanparams.cpp
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)
/usr/lib/gcc-lib/i486-suse-linux/2.95.2/cpp -lang-c++ -v -I. -I. -I.. -I/usr/lib/qt/include -I/usr/X11R6/include -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS -g3 -Wall -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di486 -D__i486 -D__i486__ -DHAVE_CONFIG_H scanparams.cpp scanparams.ii
GNU CPP version 2.95.2 19991024 (release) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
.
..
/usr/lib/qt/include
/usr/X11R6/include
/usr/include/g++
/usr/local/include
/usr/lib/gcc-lib/i486-suse-linux/2.95.2/include
/usr/include
End of search list.
The following default directories have been omitted from the search path:
/usr/lib/gcc-lib/i486-suse-linux/2.95.2/../../../../i486-suse-linux/include
End of omitted list.
/usr/lib/gcc-lib/i486-suse-linux/2.95.2/cc1plus scanparams.ii -quiet -dumpbase scanparams.cc -g3 -O0 -Wall -version -o scanparams.s
GNU C++ version 2.95.2 19991024 (release) (i486-suse-linux) compiled by GNU C version 2.95.2 19
991024 (release).
scanparams.cpp:42: Internal compiler error.
scanparams.cpp:42: Please submit a full bug report.
scanparams.cpp:42: See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scanparams.ii.bz2
Type: application/x-bzip2
Size: 65456 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000401/6d345d59/attachment.bz2>
More information about the Gcc-bugs
mailing list