This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81239] std::__cxx11::string& visible in gcc warning output
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Jun 2017 07:17:41 +0000
- Subject: [Bug c++/81239] std::__cxx11::string& visible in gcc warning output
- Auto-submitted: auto-generated
- References: <bug-81239-4@http.gcc.gnu.org/bugzilla/>
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.