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++/81239] std::__cxx11::string& visible in gcc warning output


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.

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