Re: Const qualifier conversion warnings
Re: Const qualifier conversion warnings
- Subject: Re: Const qualifier conversion warnings
- From: David Fang <email@hidden>
- Date: Sat, 4 Jun 2005 14:15:52 -0400 (EDT)
> I tried that just now. I got 924 errors like this:
>
> /usr/include/assert.h:76: error: parse error before numeric constant
> void __assert_rtn(const char *, const char *, int, const char *)
> __dead2;
Sorry, I meant -Dconst= . (Nothing after the =, otherwise it defines it
as the numeric constant 1.)
> > Did you try the hack of adding -Dconst to CPPFLAGS? That will
> > de-constify everything for you. That minimizes the work on your part.
> >> I did that before, and then decided against it because of the amount
> >> of work it was requiring from me.
For the record, I highly disdain this practice. :) But yes, it's a
necessary evil at times like these...
Cheers,
David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden