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

Bug#377179: marked as done (FTBFS with GCC 4.2: C/C++ linkage declarations conflict)



Your message dated Mon, 30 Oct 2006 05:48:40 -0800
with message-id <E1GeXVI-0008Py-EB@spohr.debian.org>
and subject line Bug#377179: fixed in vfu 4.06-3
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: vfu
Version: 4.06-1

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:tbm@deprecation: ~] /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:tbm@deprecation: ~] 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 vfu_4.06-1 on juist by sbuild/alpha 0.44
...
> g++  -I../vslib -I../vslib/pcre -I/usr/include/ncurses -O2   -c see.cpp              -o .OBJ.vfu/see.o
> ../vslib/getopt2.h:19: error: previous declaration of 'char* optarg' with 'C++' linkage
> /usr/include/getopt.h:59: error: conflicts with new declaration with 'C' linkage
> ../vslib/getopt2.h:20: error: previous declaration of 'int optind' with 'C++' linkage
> /usr/include/getopt.h:73: error: conflicts with new declaration with 'C' linkage
> ../vslib/getopt2.h:21: error: previous declaration of 'int opterr' with 'C++' linkage
> /usr/include/getopt.h:78: error: conflicts with new declaration with 'C' linkage
> ../vslib/getopt2.h:22: error: previous declaration of 'int optopt' with 'C++' linkage
> /usr/include/getopt.h:82: error: conflicts with new declaration with 'C' linkage
> make[1]: *** [.OBJ.vfu/see.o] Error 1
> make[1]: Leaving directory `/build/tbm/vfu-4.06/vfu'

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


--- End Message ---
--- Begin Message ---
Source: vfu
Source-Version: 4.06-3

We believe that the bug you reported is fixed in the latest version of
vfu, which is due to be installed in the Debian FTP archive:

vfu_4.06-3.diff.gz
  to pool/main/v/vfu/vfu_4.06-3.diff.gz
vfu_4.06-3.dsc
  to pool/main/v/vfu/vfu_4.06-3.dsc
vfu_4.06-3_i386.deb
  to pool/main/v/vfu/vfu_4.06-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 377179@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matej Vela <vela@debian.org> (supplier of updated vfu package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 30 Oct 2006 14:31:04 +0100
Source: vfu
Binary: vfu
Architecture: source i386
Version: 4.06-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Matej Vela <vela@debian.org>
Description: 
 vfu        - A versatile text-based filemanager
Closes: 377179
Changes: 
 vfu (4.06-3) unstable; urgency=low
 .
   * QA upload.
   * vslib/getopt2.h: Fix C/C++ linkage declarations conflict.
     Closes: #377179.
   * debian/control: Remove spurious `${shlibs:Misc}'.
Files: 
 c979d032fba82ce4829d3066fb0ffd71 574 utils optional vfu_4.06-3.dsc
 cc89e8796a8756931414d56d627f899c 8018 utils optional vfu_4.06-3.diff.gz
 34617e0b38efb4b0632b9ce18b437924 185970 utils optional vfu_4.06-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFRf7UxBYivKllgY8RAot7AJ0SYckAHGM7SktDxUicoHP71CKVIQCgqZKc
N6NavfuC7BCxe4e/qK1SiJU=
=58Kn
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: