[Bug c++/62181] [C/C++] Expected new warning: "adding 'char' to a string does not append to the string" [-Wstring-plus-int]

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 13 00:28:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62181

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-10-13
                 CC|                            |manu at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Confirmed. It does warn for "aaa" + x, when x is char/int.


More information about the Gcc-bugs mailing list