This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/56815] void pointer arithmetic
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 02 Apr 2013 17:04:31 +0000
- Subject: [Bug c++/56815] void pointer arithmetic
- Auto-submitted: auto-generated
- References: <bug-56815-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56815
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-04-02 17:04:31 UTC ---
Use -pedantic-errors if you want to have rejected invalid standard C++ code.
void* arithmetic is a GCC extension.