seen with trunk 20100113 $ g++ -g -O2 -c kanjisaver.ii kanjisaver.cpp: In member function 'void kanjisaver::draw_kanji()': kanjisaver.cpp:328:48: error: cannot call constructor 'QPoint::QPoint' directly kanjisaver.cpp:328:48: note: for a function-style cast, remove the redundant '::QPoint' kanjisaver.cpp:329:41: error: cannot call constructor 'QPoint::QPoint' directly kanjisaver.cpp:329:41: note: for a function-style cast, remove the redundant '::QPoint' kanjisaver.cpp:329:41: error: no matching function for call to 'QPoint::QPoint(int&, int, int&, int)' /usr/share/qt3/include/qpoint.h:114:8: note: candidates are: QPoint::QPoint(int, int) /usr/share/qt3/include/qpoint.h:111:8: note: QPoint::QPoint() /usr/share/qt3/include/qpoint.h:50:1: note: QPoint::QPoint(const QPoint&) kanjisaver.cpp:330:6: error: cannot call constructor 'QRect::QRect' directly kanjisaver.cpp:330:6: note: for a function-style cast, remove the redundant '::QRect' kanjisaver.cpp:365:48: error: cannot call constructor 'QPoint::QPoint' directly kanjisaver.cpp:365:48: note: for a function-style cast, remove the redundant '::QPoint' kanjisaver.cpp:366:41: error: cannot call constructor 'QPoint::QPoint' directly kanjisaver.cpp:366:41: note: for a function-style cast, remove the redundant '::QPoint' kanjisaver.cpp:366:41: error: no matching function for call to 'QPoint::QPoint(int&, int, int&, int)' /usr/share/qt3/include/qpoint.h:114:8: note: candidates are: QPoint::QPoint(int, int) /usr/share/qt3/include/qpoint.h:111:8: note: QPoint::QPoint() /usr/share/qt3/include/qpoint.h:50:1: note: QPoint::QPoint(const QPoint&) kanjisaver.cpp:367:6: error: cannot call constructor 'QRect::QRect' directly kanjisaver.cpp:367:6: note: for a function-style cast, remove the redundant '::QRect' virtual memory exhausted: Cannot allocate memory
-- Summary: terminates with "virtual memory exhausted: Cannot allocate memory" in error recovery Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: doko at ubuntu dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42731