[Bug c++/22107] Type checking seems to break with string operator=
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 17 21:29:00 GMT 2005
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-17 21:29 -------
(In reply to comment #2)
> Aparently the compiler is doing automatic type conversion from long to char;
> however, it does not warn about this with the following options enabled: -Wall
> -pedantic -W -Wconversion
Yes which is what the C++ standard requires.
> Is there a warning option that I am missing here? Has this warning been
> included in newer releases?
The warning is filed under PR 18821, I had forgot to mention that.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22107
More information about the Gcc-bugs
mailing list