This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19291] Warning "cannot pass objects of non-POD type" should be an error
- From: "wallaces3 at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Aug 2009 04:02:47 -0000
- Subject: [Bug c++/19291] Warning "cannot pass objects of non-POD type" should be an error
- References: <bug-19291-3328@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from wallaces3 at yahoo dot com 2009-08-13 04:02 -------
I totally agree with David Faure, please make this warning controllable:
-Werror=invalid-offsetof
All other warnings have a type that can be ignored, but when using the
-fdiagnostics-show-option option to see what the warning type is for this
non-POD warning I was amazed that it does not have a type. In the
gcc/Warnings-Options.html the type is listed as invalid-offsetof
Please, please, please make this warning controllable.
Thanks.
--
wallaces3 at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wallaces3 at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19291