• 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
Preprocessor macro set if RTTI is enabled?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Preprocessor macro set if RTTI is enabled?


  • Subject: Preprocessor macro set if RTTI is enabled?
  • From: Zachary Pincus <email@hidden>
  • Date: Tue, 5 Apr 2005 11:52:40 -0700

Is there a GCC or XCode-sepcific preprocessor macro that is set when C++ RTTI is or is not enabled?

MS VC++ sets _CPPRTTI if RTTI is enabled, allowing you to selectively compile code that uses dynamic_cast or typeid only of enabled in the compiler. Is there any way to do this sort of selective compilation with GCC/XCode?

Thanks,

Zach Pincus
Department of Biochemistry and Program in Biomedical Informatics
Stanford University School of Medicine

_______________________________________________
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: new target questions
  • Next by Date: [ANN]: Xcode and more at WWDC this year
  • Previous by thread: Here's why... (was Re: XCode no more Syntax Coloring)
  • Next by thread: [ANN]: Xcode and more at WWDC this year
  • Index(es):
    • Date
    • Thread