[Bug c/34326] pointer arithmetic on void pointers does not generate an error
brian at dessent dot net
gcc-bugzilla@gcc.gnu.org
Mon Dec 3 16:25:00 GMT 2007
------- Comment #3 from brian at dessent dot net 2007-12-03 16:25 -------
Subject: Re: New: pointer arithmetic on void pointers does not
generate an error
This is a GNU C extension, see
<http://gcc.gnu.org/onlinedocs/gcc/Pointer-Arith.html>. I think you can
disable it with -std=c89 or -std=c99.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34326
More information about the Gcc-bugs
mailing list