Your message dated Tue, 20 Sep 2016 22:15:11 +0000
with message-id <>
and subject line Bug#838316: Removed package(s) from unstable
has caused the Debian Bug report #764280,
regarding g++-4.9: g++-4.9 ignore "pragma GCC diagnostic ..." directives
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

Debian Bug Tracking System
Contact with problems
--- Begin Message ---
Package: g++-4.7
Version: 4.7.1-7
Severity: normal


  Contrary to gcc, g++ ignore "#pragma GCC diagnostic ...".
Note that the GNU doc tell us that g++ support most of gcc pragma.
Moreover, g++ does not emit a warning about unknown pragma as it
does for typo.

vdanjean@eyak:/tmp$ cat toto.cpp 
#pragma GCC diagnostic ignored "-Wcpp"
#warning this is a warning
vdanjean@eyak:/tmp$ g++-4.7 -Wall -c toto.cpp
toto.cpp:2:2: warning: #warning this is a warning [-Wcpp]
vdanjean@eyak:/tmp$ gcc-4.7 --language=c -Wall -c toto.cpp

Example that shows that the previous pragma is recongnized but ignored
with various typo that make g++ emit other warnings:
vdanjean@eyak:/tmp$ cat titi.cpp 
#pragma GCC wrong-pragma ignored "-Wcpp"
#pragma GXX diagnostic ignored "-Wcpp"
#pragma GCC diagnostic ignored "-Wwrong-option"
#warning this is a warning
vdanjean@eyak:/tmp$ g++-4.7 -Wall -c titi.cpp 
titi.cpp:1:0: warning: ignoring #pragma GCC wrong [-Wunknown-pragmas]
titi.cpp:2:0: warning: ignoring #pragma GXX diagnostic [-Wunknown-pragmas]
titi.cpp:4:2: warning: #warning this is a warning [-Wcpp]
titi.cpp:3:32: warning: unknown option after ‘#pragma GCC diagnostic’ kind 

So "#pragma GCC diagnostic ignored "-Wcpp"" has been correctly recognized in
toto.cpp but ignored.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
Architecture: amd64 (x86_64)
Foreign Architectures: i386 armel mipsel

Kernel: Linux 3.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages g++-4.7 depends on:
ii  gcc-4.7             4.7.1-7
ii  gcc-4.7-base        4.7.1-7
ii  libc6               2.13-35
ii  libgmp10            2:5.0.5+dfsg-2
ii  libmpc2             0.9-4
ii  libmpfr4            3.1.0-5
ii  libstdc++6-4.7-dev  4.7.1-7
ii  zlib1g              1:1.2.7.dfsg-13

g++-4.7 recommends no packages.

Versions of packages g++-4.7 suggests:
ii  g++-4.7-multilib    4.7.1-7
pn  gcc-4.7-doc         <none>
pn  libstdc++6-4.7-dbg  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 4.9.4-2+rm

Dear submitter,

as the package gcc-4.9 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

The version of this package that was in Debian prior to this removal
can still be found using

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

Debian distribution maintenance software
Chris Lamb (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to