This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Further C front end tests
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> On Mon, 15 Nov 2004, Zack Weinberg wrote:
>
>> The thing I think we need to continue allowing, as long as the
>> arithmetic-on-void* extension remains, is &ptr[N].
>
> Given the mandatory warning "dereferencing 'void *' pointer" for this I'd
> not expect many people to be using it rather than ptr+N, but with my
> updated patch that gets just the "dereferencing 'void *' pointer" with no
> options, plus an extra pedwarn (as now) with -pedantic or -Wpointer-arith.
That's fine.
zw