• 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: RTTI Preprocessor flag
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: RTTI Preprocessor flag


  • Subject: RE: RTTI Preprocessor flag
  • From: "Brant Sears" <email@hidden>
  • Date: Fri, 1 Apr 2005 15:45:03 -0800
  • Thread-topic: RTTI Preprocessor flag

Title: RE: RTTI Preprocessor flag

Yes, I know how to turn RTTI on. However, I want to be able to programatically check at compile time for whether RTTI is on. Such as:

#if __RTTI_ENABLED

pFoo = dynamic_cast<Foo*>(myPointer);

#endif

...and so forth. I would like to know what the equivalent of "__RTTI_ENABLED" in xCode.

 _______________________________________________
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

  • Follow-Ups:
    • Re: RTTI Preprocessor flag
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: RTTI Preprocessor flag
  • Next by Date: Re: XCode and gcc - adding include directories
  • Previous by thread: RTTI Preprocessor flag
  • Next by thread: Re: RTTI Preprocessor flag
  • Index(es):
    • Date
    • Thread