From Bugzilla Helper: User-Agent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.0 (like Gecko) Description of problem: Slightly rusty on c++ class syntax and usage, so problem may be due to stupid usage.... However virtual scene management class virtual open gl graphics drawing class integrate the two in a single class, also using some static functionality Also involved is Qt 3.3... when using the following compile line (some of the options I don't know):- g++ -I/usr/include -I/home/petew/cppOpenGL/graphlib/geomlib -I/usr/X11R6/include -I -I. -I/usr/lib/qt-3.3/mkspecs/default -I/usr/lib/qt-3.3/include -pipe -Wall -W -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 -fasynchronous-unwind-tables -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -c sceneMan.cpp to compile the scene/graphics management class the following message is produced sceneMan.h:24: internal compiler error: in grokfield, at cp/decl2.c:909 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugzilla.redhat.com/bugzilla> for instructions. Preprocessed source stored into /tmp/ccZaU60v.out file, please attach this to your bugreport. Version-Release number of selected component (if applicable): g++ -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux Thread model: posix gcc version 4.0.0 20050519 (Red Hat 4.0.0-8) How reproducible: Always Steps to Reproduce: 1.issue the compiler command 2. 3. Actual Results: internal compiler error in grokfield (as above) Expected Results: the compiler should have produced an object file Additional info:
Created attachment 123048 [details] tar achive of relevant c++/header files
Created attachment 123050 [details] Preprocessed source file created by compiler
Can't reproduce with the current FC4 update compiler (gcc-4.0.2-8.fc4). The file doesn't compile, because it is not valid ISO C++, but doesn't ICE and issues proper diagnostics.