[Bug c/20535] add warning or error if storage size mismatch

jsm28 at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Mar 19 13:34:00 GMT 2005


------- Additional Comments From jsm28 at gcc dot gnu dot org  2005-03-19 13:34 -------
What you want is a better -Wconversion, "warn for any implicit conversion that
may change a value"; see bug 9072 (and also bug 6614).  Bug 9072 effectively
tracks the need for a better -Wconversion while bug 6614 deals with the
particularly unintuitive parts of the present -Wconversion.  Such warnings
would not however be appropriate to be on by default or to be included in -Wall
or -Wextra; they'd remain a separate -Wconversion flag.


*** This bug has been marked as a duplicate of 9072 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsm28 at gcc dot gnu dot org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20535



More information about the Gcc-bugs mailing list