[Gllug] Pointer arithmetic with void *
Tethys
tet at accucard.com
Mon Aug 19 10:11:49 UTC 2002
>As such, the extension is rejected when -ansi, -std=c89 or anything
>equivalent to it, or -std=c99 or anything equivalent to that is
>provided; also, -Wpointer-arith warns about such things.
Nope. -ansi, -std=c89 and -std=c99 all happily compile it without
comment (at least with gcc-2."96"-110 from RH-7.3). -pedantic picks
it up, as does -Wpointer-arith, as you mentioned...
Tet
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list