Arithmetik on void pointers in libgcc2 sources

Philipp Thomas
Mon Jun 5 01:24:00 GMT 2000

When you add -Wpointer-arith to the warning flags, you'll get warnings for
libgcc2.c and frame-dwarf2.c in those places where arithmetik is done with
void pointers. While this is ok, as these are always compiled by gcc, I
would like to wrap those places in __extension__ () blocks to shut up gcc.

If this is acceptable, I'll post the corresponding patches.


Philipp Thomas <>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany

#define NINODE  50              /* number of in core inodes */
#define NPROC   30              /* max number of processes */
 	-- Version 7 UNIX fuer PDP 11, /usr/include/sys/param.h

More information about the Gcc-bugs mailing list