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]

Re: [RFA] enum enable


>> 2001-07-14  Eli Zaretskii  <eliz@is.elta.co.il>
>> 
>> The following changes avoid polluting global namespace with the
>> `enable' and `disable' identifiers, because some platforms define
>> in their system headers symbols with global scope that go by those
>> names.
>> 
> 
> 
> Why are the following changes necessary?  Structure members aren't in
> the global namespace:


See earlier e-mail from me.   The existing code read:

	b->enable = enabled
and 
b->enable == disabled

ulgh.

	Andrew




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