Package: libstdc++6-4.2-dev
Version: 4.2.1-5
Severity: important

Hi,

it seems that the typeinfo file from /usr/include/c++/4.2 is somehow
broken. Compiling a program that includes this file indirectly I get:
In file included from /usr/include/c++/4.2/bits/locale_facets.tcc:42,
                 from /usr/include/c++/4.2/locale:46,
                 from /usr/include/c++/4.2/bits/ostream.tcc:46,
                 from /usr/include/c++/4.2/ostream:572,
                 from /usr/include/c++/4.2/iterator:70,
                 from /usr/include/boost/next_prior.hpp:15,
                 from /usr/include/boost/utility.hpp:16,
                 from /usr/include/boost/thread/thread.hpp:12,
                 from /usr/include/boost/thread.hpp:10,
                 from src/core/thread.h:24,
                 from src/net/clientthread.h:24,
                 from src/net/common/clientstate.cpp:21:
/usr/include/c++/4.2/typeinfo: At global scope:
/usr/include/c++/4.2/typeinfo:41: error: expected unqualified-id before end of 
line
/usr/include/c++/4.2/typeinfo:41: error: expected `}' before end of line
/usr/include/c++/4.2/typeinfo:41: error: expected `}' before end of line
/usr/include/c++/4.2/typeinfo:41: error: expected `}' before end of line
/usr/include/c++/4.2/typeinfo:41: error: expected declaration before end of line

Line 41 in /usr/include/c++/4.2 and surroundings look like this:
36  #ifndef _TYPEINFO
37  #define _TYPEINFO
38
39  #include <exception>
40
41  #pragma GCC visibility push(default)
42
43  extern "C++" {

Removing the pragma there and on line 166 lets the compiler go on.

Andreas

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'experimental'), 
(500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.1
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libstdc++6-4.2-dev depends on:
ii  g++-4.2                       4.2.1-5    The GNU C++ compiler
ii  gcc-4.2-base                  4.2.1-5    The GNU Compiler Collection (base 
ii  libc6-dev                     2.6.1-5    GNU C Library: Development Librari
ii  libstdc++6                    4.2.1-5    The GNU Standard C++ Library v3

libstdc++6-4.2-dev recommends no packages.

-- no debconf information



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

Reply via email to