This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfa] rename p-exp.y's TRUE/FALSE


On Mon, 09 Dec 2002 15:45:43 -0500, Andrew Cagney <ac131313@redhat.com> said:

> I'll push this up towards BFD, loosing true/false is one changing,
> `helpfully' defining TRUE/FALSE is a second.

Yah.  Especially since the defining is silent, so you might not even
be aware of the problem (as those of us using Bison in this situation
weren't):

  typedef int bfd_boolean;
  #undef FALSE
  #undef TRUE
  #define FALSE 0
  #define TRUE 1

Oh, for a world without #define...

> (yes, approved)

Thanks, committed.

David Carlton
carlton@math.stanford.edu


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