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

Bug#455396: marked as done (gcc warnings: #define redefined)



Your message dated Sat, 25 Jul 2009 19:55:41 +0100
with message-id <1248548141.622243.23583.nullmailer@kmos.homeip.net>
and subject line vrweb has been removed from Debian, closing #455396
has caused the Debian Bug report #455396,
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 owner@bugs.debian.org
immediately.)


-- 
455396: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455396
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: vrweb_1.5-17
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.

Error 1)  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

Error 2) GCC 4.3 has converted a number of warnings into errors.
With GCC 4.3, you're no longer allowed to put spurious text after
preprocessor directives, such as #else and #endif.  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 vrweb_1.5-17 on em64t by sbuild/amd64 0.53
...
> g++  -O2  -Dcplusplus_2_1  -DOSMajorVersion=2 -DOSMinorVersion=0 -DLINUX -DHG_OSMaj=2 -DHG_OSMin=0  -I/build/tbm/vrweb-1.5/installed/include   -pipe  -c /build/tbm/vrweb-1.5/src/common/OS/memory.C
> /build/tbm/vrweb-1.5/src/common/OS/memory.C:40:7: error: extra tokens at end of #else directive
> make[4]: *** [memory.o] Error 1
> make[4]: Leaving directory `/build/tbm/vrweb-1.5/src/common/OS/LINUX_ELF'

and later:

> g++ -O -O -DLINUX_ELF -DVERBOSE -DASSERT -Dcplusplus_2_1 -DInterViews -Div_nls  -DOSMajorVersion=2 -DOSMinorVersion=0 -DLINUX -DHG_OSMaj=2 -DHG_OSMin=0  -I/build/tbm/vrweb-1.5/installed/include     -pipe  -c /build/tbm/vrweb-1.5/src/harmony/scene/triangulate.C
> g++ -O -O -DLINUX_ELF -DVERBOSE -DASSERT -Dcplusplus_2_1 -DInterViews -Div_nls  -DOSMajorVersion=2 -DOSMinorVersion=0 -DLINUX -DHG_OSMaj=2 -DHG_OSMin=0  -I/build/tbm/vrweb-1.5/installed/include     -pipe  -c /build/tbm/vrweb-1.5/src/harmony/scene/monotone.C
> /build/tbm/vrweb-1.5/src/harmony/scene/monotone.C:120:1: error: "INFINITY" redefined
> In file included from /usr/include/math.h:40,
>                  from /build/tbm/vrweb-1.5/src/harmony/scene/monotone.C:53:
> /usr/include/bits/inf.h:27:1: error: this is the location of the previous definition
> make[4]: *** [monotone.o] Error 1
> make[4]: Leaving directory `/build/tbm/vrweb-1.5/src/harmony/scene/LINUX_ELF'

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



--- End Message ---
--- Begin Message ---
Version: 1.5-17+rm

The vrweb package has been removed from Debian so we are closing
the bugs that were still opened against it.

For more information about this package's removal, read
http://bugs.debian.org/410621 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

Kind regards,
--
Marco Rodrigues


--- End Message ---

Reply to: