Your message dated Fri, 18 Dec 2009 20:16:20 +1100
with message-id <[email protected]>
and subject line Re: Bug#455406: pedwarnings no longer errors in GCC 4.3
has caused the Debian Bug report #455406,
regarding gcc warnings: #define redefined
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
455406: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455406
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: digikam
Version: 2:0.9.2-5
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.  GCC 4.3 has converted a number
of warnings into errors.  With GCC 4.3, you're no longer to
just redefine a previous #define.  You need to either avoid
redefinitions directly or to use #ifndef to make sure that something
has not been defined already.  See
http://www.cyrius.com/journal/gcc/gcc-4.3-pedwarn.html

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

> Automatic build of digikam_2:0.9.2-5 on em64t by sbuild/amd64 0.53
...
> creating libdigikam_la.all_cpp.cpp ...
> /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H 
> -I. -I/build/tbm/digikam-0.9.2/./digikam/digikam -I../.. 
> -I/build/tbm/digikam-0.9.2/./digikam/sqlite 
> -I/build/tbm/digikam-0.9.2/./digikam/libs/histogram 
> -I/build/tbm/digikam-0.9.2/./digikam/libs/levels 
> -I/build/tbm/digikam-0.9.2/./digikam/libs/curves 
> -I/build/tbm/digikam-0.9.2/./digikam/libs/themeengine 
> -I/build/tbm/digikam-0.9.2/./digikam/libs/widgets/common 
> -I/build/tbm/digikam-0.9.2/./digikam/libs/thumbbar 
> -I/build/tbm/digikam-0.9.2/./digikam/libs/jpegutils 
> -I/build/tbm/digikam-0.9.2/./digikam/libs/dcraw 
> -I/build/tbm/digikam-0.9.2/./digikam/libs/dimg 
> -I/build/tbm/digikam-0.9.2/./digikam/libs/dmetadata 
> -I/build/tbm/digikam-0.9.2/./digikam/libs/imageproperties 
> -I/build/tbm/digikam-0.9.2/./digikam/libs/threadimageio 
> -I../../digikam/libs/dialogs 
> -I/build/tbm/digikam-0.9.2/./digikam/libs/dialogs 
> -I/build/tbm/digikam-0.9.2/./digikam/utilities/cameragui 
> -I/build/tbm/digikam-0.9.2/./digikam/utilities/imageeditor/editor 
> -I/build/tbm/digikam-0.9.2/./digikam/utilities/imageeditor/canvas 
> -I/build/tbm/digikam-0.9.2/./digikam/utilities/splashscreen 
> -I/build/tbm/digikam-0.9.2/./digikam/utilities/setup 
> -I/build/tbm/digikam-0.9.2/./digikam/utilities/slideshow 
> -I/build/tbm/digikam-0.9.2/./digikam/utilities/batch 
> -I/build/tbm/digikam-0.9.2/./digikam/utilities/lighttable -I/usr/include/kde  
>  -I/usr/include/kde   -I/usr/include/kde   -I/usr/include/gphoto2 
> -I/usr/include/kde -I/usr/share/qt3/include -I.    -DQT_THREAD_SUPPORT  
> -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
> -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 
> -fno-inline -g -Wall -O2 -Wformat-security -Wmissing-format-attribute 
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common 
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
> -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE  -c -o libdigikam_la.all_cpp.lo 
> libdigikam_la.all_cpp.cpp
> In file included from 
> /build/tbm/digikam-0.9.2/./digikam/digikam/albumdb_sqlite2.cpp:28,
>                  from libdigikam_la.all_cpp.cpp:7:
> /build/tbm/digikam-0.9.2/./digikam/sqlite/sqlite.h:31:1: error: 
> "SQLITE_VERSION" redefined
> In file included from 
> /build/tbm/digikam-0.9.2/./digikam/digikam/albumdb.cpp:32,
>                  from libdigikam_la.all_cpp.cpp:6:
> /usr/include/sqlite3.h:91:1: error: this is the location of the previous 
> definition
> In file included from 
> /build/tbm/digikam-0.9.2/./digikam/digikam/albumdb_sqlite2.cpp:28,
>                  from libdigikam_la.all_cpp.cpp:7:
> /build/tbm/digikam-0.9.2/./digikam/sqlite/sqlite.h:486:1: error: 
> "SQLITE_TEXT" redefined
> In file included from 
> /build/tbm/digikam-0.9.2/./digikam/digikam/albumdb.cpp:32,
>                  from libdigikam_la.all_cpp.cpp:6:
> /usr/include/sqlite3.h:1431:1: error: this is the location of the previous 
> definition

-- 
Martin Michlmayr
http://www.cyrius.com/



--- End Message ---
--- Begin Message ---
On Sunday 20 January 2008 21:35:27 Martin Michlmayr wrote:
>  I believe this one will stay a warning, so I don't mind if you
> simply close this bug report.

Martin,

Closing as there hasn't been any action this year and upstream seem happy with 
warnings.

Mark

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply via email to