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++/22107] Type checking seems to break with string operator=


------- 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


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