This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: Converting to ISO C89


Joe Buck <jbuck at synopsys dot com> writes:

> Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de> writes:
>> > Couldn't that be easily worked around with -Dclass=__class or
>> > something?
>  
> On Tue, Mar 25, 2003 at 02:01:54PM -0800, Zack Weinberg wrote:
>> Is this not a cure worse than the disease?
>
> As a "permanent" solution it would be fairly brittle.  But for the purpose of
> an experiment, to see if any type errors can be found in GCC (due to prototype
> mismatches or misuse of enums) it could be worth a shot.  It might not work
> as well as expected, if some system header optionally defines a class if
> __cplusplus is defined.
>  

I'm all for experiments.  I'm just reluctant to do something this
brittle on a regular basis.

zw


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