Preprocessor macro set if RTTI is enabled?
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