[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#302989: optimizer breaks function inlining



On 05-Apr-08 20:07, Steve M. Robbins wrote:
> Andreas: do you mind checking whether gcc-snapshot will compile Ipe
> with the addition of a virtual destructor in IpeletHelper, as described
> in BTS #302606.

I currently use gcc-4.0 version 4.0ds9 from 'experimental', which is 
based on gcc-4.0 as of 2005-03-26. With that version of gcc-4.0,
the compilation still fails with:

make[3]: Entering directory 
`/srv/dbuild/tmp/ipe-6.0pre23/src/ipelets/image'
g++ -c -pipe -Wall -W -Werror -O2 -D_REENTRANT -fPIC  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/share/qt3/mkspecs/default -I. -I../../include -I/usr/include/qt3 -o ../../../build/obj/ipelets/image.o image.cpp
cc1plus: warnings being treated as errors
/usr/include/qt3/qnetworkprotocol.h:58: warning: 'class QNetworkProtocolFactoryBase' has virtual functions but non-virtual destructor
/usr/include/qt3/qfiledialog.h:78: warning: 'class QFilePreview' has virtual functions but non-virtual destructor
make[3]: *** [../../../build/obj/ipelets/image.o] Error 1
make[3]: Leaving directory `/srv/dbuild/tmp/ipe-6.0pre23/src/ipelets/image'

Regards
Andreas Jochens



Reply to: