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: unassig...@gcc.gnu.org

        ReportedBy: g...@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.

Reply via email to