Your message dated Sun, 18 Mar 2007 16:51:18 +1100
with message-id <[EMAIL PROTECTED]>
and subject line (no subject)
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: libflash
Version: 0.4.13-7
Your package fails to build with recent versions of the gcc-snapshot
package, i.e. a pre-release of GCC 4.2. The problem is that external
variables are defined both in a C and C++ context, as you can see in
this simple example:
42059:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/g++ -c t.cc
t.cc:1: error: previous declaration of 'int i' with 'C++' linkage
t.cc:4: error: conflicts with new declaration with 'C' linkage
42060:[EMAIL PROTECTED]: ~] cat t.cc
extern int i;
extern "C" {
extern int i;
}
According to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27227#c8 this is
not valid, so please investgate.
> Automatic build of libflash_0.4.13-7 on test.track.rz.uni-augsburg.de by
> sbuild/powerpc 0.47
...
> powerpc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -fno-rtti
> -fno-exceptions -g -O2 -MT flash.lo -MD -MP -MF .deps/flash.Tpo -c flash.cc
> -fPIC -DPIC -o .libs/flash.o
> swf.h:203: error: previous declaration of 'int shape_size' with 'C++' linkage
> flash.cc:296: error: conflicts with new declaration with 'C' linkage
> swf.h:203: error: previous declaration of 'int shape_nb' with 'C++' linkage
> flash.cc:296: error: conflicts with new declaration with 'C' linkage
> swf.h:203: error: previous declaration of 'int shaperecord_size' with 'C++'
> linkage
> flash.cc:296: error: conflicts with new declaration with 'C' linkage
> swf.h:203: error: previous declaration of 'int shaperecord_nb' with 'C++'
> linkage
> flash.cc:296: error: conflicts with new declaration with 'C' linkage
> swf.h:203: error: previous declaration of 'int style_size' with 'C++' linkage
> flash.cc:296: error: conflicts with new declaration with 'C' linkage
> swf.h:203: error: previous declaration of 'int style_nb' with 'C++' linkage
> flash.cc:296: error: conflicts with new declaration with 'C' linkage
> make[3]: *** [flash.lo] Error 1
> make[3]: Leaving directory `/build/tbm/libflash-0.4.13/lib'
--
Martin Michlmayr
http://www.cyrius.com/
--- End Message ---
--- Begin Message ---
Version: 0.4.13-8
Nobuhiro Iwamatsu fixed this in 0.4.13-8.
Unfortunately he typo-ed the Closes line.
libflash (0.4.13-8) unstable; urgency=low
* FTBFS with GCC 4.2: C/C++ linkage declarations conflict. (Closes :#377177)
* "decoding..." message was disabled .
-- Nobuhiro Iwamatsu <[EMAIL PROTECTED]> Sat, 15 Jul 2006 10:40:47 +0900
Andrew V.
--- End Message ---