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

Bug#372752: AnyMeal compile-time error due to GCC 4.1



Hi Jan,
how are you?

As you know, I'm packaging anymeal for Debian. The forthcoming release
of Etch has one of its mail goal in migrate to GCC 4.1. This new
version introduce a stricter check that makes compile of anymeal fail
(with GCC 3.4 and 4.0 everything was fine). The error I receive is
this:

/usr/share/qt3/bin/moc destroyDialog.h -o destroyDialog.moc
rm -f destroyDialog.cc
echo '#include <kdialog.h>' > destroyDialog.cc
echo '#include <klocale.h>' >> destroyDialog.cc
/usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload -tr
tr2i18n -i destroyDialog.h ./destroyDialog.ui > destroyDialog.cc.temp
; ret=$?; \
/usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g"
destroyDialog.cc.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\"
),QString::null,g" | /usr/bin/perl -pe
"s,image([0-9][0-9]*)_data,img\$1_destroyDialog,g" | /usr/bin/perl -pe
"s,: QWizard\(,: KWizard(,g" >> destroyDialog.cc ;\
rm -f destroyDialog.cc.temp ;\
if test "$ret" = 0; then echo '#include "destroyDialog.moc"' >>
destroyDialog.cc; else rm -f destroyDialog.cc ; exit $ret ; fi
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/xercesc
-I/usr/include/xalan -I/usr/include/xalanc -I/usr/include/kde
-I/usr/share/qt3/include -I.   -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -O2 -g -Wall -O2
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -fexceptions
-I/usr/include/xalanc -I/usr/include/xalan  -Wno-long-long -Wundef
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -O2 -g -Wall -O2
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -fexceptions  -c -o
destroyDialog.o destroyDialog.cc
./destroyDialog.ui.h: In member function 'virtual void DestroyDialog::init()':
./destroyDialog.ui.h:13: error: 'assert' was not declared in this scope

Since I've not the ability to correct it by myself, could you please
check you code against GCC 4.1 so that I can move it into Debian?

Thanks you very,
Sandro

--
Sandro Tosi (aka Morpheus, matrixhasu)
My (little) site: http://matrixhasu.altervista.org/



Reply to: