[Bug c++/56815] void pointer arithmetic
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 3 12:12:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56815
--- Comment #16 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2013-04-03 12:12:15 UTC ---
BTW, I also see that in c-family/c.opt -Wpointer-arith is not LangEnabledBy(C
ObjC C++ ObjC++,Wpedantic). If it was, then -Werror=pedantic will automatically
handle -Werror=pointer-arith (and the same when using #pragma GCC diagnostic).
So, this is one of the bugs that prevent -pedantic-errors == -Werror=pedantic.
More information about the Gcc-bugs
mailing list