Package: ipe
Version: 6.0pre23-2
Severity: normal
Tags: patch

When building 'ipe' on amd64/unstable with gcc-4.0,
I get the following error:

g++ -c -pipe -Wall -W -Werror -O2 -D_REENTRANT -fPIC  -DIPE_MAKEDLL 
-I/usr/share/qt3/mkspecs/default -I. -I../include -o 
../../build/obj/ipelib/ipebase.o ipebase.cpp
cc1plus: warnings being treated as errors
../include/ipelet.h:59: warning: 'class IpeletHelper' has virtual functions but 
non-virtual destructor
make[2]: *** [../../build/obj/ipelib/ipebase.o] Error 1
make[2]: Leaving directory `/ipe-6.0pre23/src/ipelib'

There are a lot more of those warnings. Some of those warnings refer to
include file from /usr/include/, i.e. from outside the package.

With the attached patch 'ipe' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/ipe-6.0pre23/src/config.pro ./src/config.pro
--- ../tmp-orig/ipe-6.0pre23/src/config.pro     2005-04-01 21:22:41.207741065 
+0200
+++ ./src/config.pro    2005-04-01 21:20:55.260605609 +0200
@@ -93,7 +93,7 @@
 # Standard definitions --- don't change
 CONFIG      += warn_on release
 CONFIG     -= qt
-linux-g++:QMAKE_CXXFLAGS_WARN_ON += -Werror
+linux-g++:QMAKE_CXXFLAGS_WARN_ON +=
 # --------------------------------------------------------------------
 
 # If this is not used, a build from /usr/.... will generate


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to