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

Reply via email to