Feature #24

Support to enable/disable RTTI

Added by Steven Craft over 7 years ago.

Status:NewStart date:07/20/2010
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Building
Target version:-

Description

As far as I know, RTTI is very seldom used in the games industry, certainly in the dozen or so titles I have shipped I have never used it. For now we are applying C.C++Flags in our Jamrules files to disable RTTI on a platform by platform basis, but I figured it would be a nice addition to have a rule something like:

C.RunTimeTypeInformation TARGET : false ;
C.RunTimeTypeInformation TARGET : true ;

Or something along those lines, in the C++ support JamPlus provides. On Wii the C++Flags required are '-RTTI on' '-RTTI off'' PS3 is more conventional as it follows the GCC default (I believe) '-frtti' '-fno-rtti', and Visual Studio/360 use '/GR' /GR-' I believe.

Steve

Also available in: Atom PDF