This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48266] New: deprecated("message") fails to print message
- From: "gcc at magfr dot user.lysator.liu.se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2011 07:57:45 -0000
- Subject: [Bug c++/48266] New: deprecated("message") fails to print message
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48266
Summary: deprecated("message") fails to print message
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: gcc@magfr.user.lysator.liu.se
Created attachment 23765
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23765
Compile with g++ -S -o /dev/null foo.cpp to repeat
In the attached program I would have expected the string "message" to show up
three times (line 7, 8 and 10) instead of only one time (line 8).
Note that all the lines do get a deprecation warning, it is only the message
that is missing.