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

Bug#597090: marked as done (libstdc++6-4.5-dev: several STL classes implicitly add to the exception specification of containing classes' destructors)



Your message dated Sat, 25 Aug 2012 12:01:11 +0000
with message-id <E1T5F39-0008M9-JI@franck.debian.org>
and subject line Bug#675431: Removed package(s) from unstable
has caused the Debian Bug report #597090,
regarding libstdc++6-4.5-dev: several STL classes implicitly add to the exception specification of containing classes' destructors
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.)


-- 
597090: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597090
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libstdc++6-4.5-dev
Version: 4.5-20100227-1
Severity: minor

Hi,

the attached code fails to compile with

test.cpp:11: error: looser throw specifier for ‘virtual implementation::~implementation()’
test.cpp:6: error:   overriding ‘virtual interface::~interface() throw ()’

The reason for this is that the std::string destructor is not declared
to never throw, and the implicit dtor inherits the exception
specification from the members' destructors.

The same applies to several other STL types, like list, map, ...

The problem can be worked around by defining an explicit destructor.

   Simon

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libstdc++6-4.5-dev depends on:
ii  g++-4.5                   4.5-20100227-1 The GNU C++ compiler
ii  gcc-4.5-base              4.5-20100227-1 The GNU Compiler Collection (base 
ii  libc6-dev                 2.11.2-6       Embedded GNU C Library: Developmen
ii  libstdc++6                4.5-20100227-1 The GNU Standard C++ Library v3

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

Versions of packages libstdc++6-4.5-dev suggests:
pn  libstdc++6-4.5-doc            <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 4.5.4-1+rm

Dear submitter,

as the package gcc-4.5 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/675431

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

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

Debian distribution maintenance software
pp.
Luca Falavigna (the ftpmaster behind the curtain)

--- End Message ---

Reply to: