This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: patch to make -Wpointer-arith work with glibc 2.1.2pre3


On Mon, Sep 06, 1999 at 08:00:26PM -0400, Jim Kingdon wrote:
> ! 		{ pedantic = ($<itype>1) & 1;
> ! 		  warn_pointer_arith = (($<itype>1) >> 1) & 1; }

This could all be tidied a bit by creating a couple of macros near
the beginning of c-parse.in to do the encoding and decoding.  Also,
setting the type of `extension' means $<itype>1 can be written $1.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]