https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81239
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-06-28
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jon Grant from comment #0)
> I noticed that with, or without -std=c++11 on gcc params, the output of
> std::string for references still shows __cxx11. for const ref, it isn't
> shown in the warning.
Confirmed, they should be consistent.
> The later warning is ok main.cpp:10:6
That's because it just displays the original source code.