[Bug 328299] Re: testcase.cpp: internal compiler error: Segmentation fault.

Jonathan Thomas echidnaman at kubuntu.org
Fri Jun 19 00:28:25 UTC 2009


Seems to work with Qt 4.5.1 and GCC 4.4:
(I did have to add #include <iostream.h> before it'd compile, but it didn't segfault there either)

jonathan at jonathan-desktop:~/Documents/sauce/testcase$ make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o testcase.o testcase.cpp
testcase.cpp:7: warning: unused parameter ‘argc’
testcase.cpp:7: warning: unused parameter ‘argv’
/usr/include/qt4/QtCore/qmap.h: In function ‘int main(int, char**)’:
/usr/include/qt4/QtCore/qmap.h:704: warning: dereferencing pointer ‘pretmp.136’ does break strict-aliasing rules
cc1plus: note: initialized from here
g++ -Wl,-O1 -o testcase\ testcase testcase.o    -L/usr/lib -lQtGui -lQtCore -lpthread
jonathan at jonathan-desktop:~/Documents/sauce/testcase$

** Changed in: qt4-x11 (Ubuntu)
       Status: New => Fix Released

-- 
testcase.cpp: internal compiler error: Segmentation fault.
https://bugs.launchpad.net/bugs/328299
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in ubuntu.




More information about the kubuntu-bugs mailing list