• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Const qualifier conversion warnings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Using an Applescript xcode plugin to access data from the folders under Groups&Files
  • Next by Date: Re: Const qualifier conversion warnings
  • Previous by thread: Re: Const qualifier conversion warnings
  • Next by thread: Re: Const qualifier conversion warnings
  • Index(es):
    • Date
    • Thread