This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/48266] New: deprecated("message") fails to print message


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]