In article <93499@palm-dev-forum>, [EMAIL PROTECTED] says... > > Metrowerks compiler seems to support RTTI on PalmOS (Targeting PalmOS > doc). However I do not succeed in compiling the typeid function: There > is an error, which says: > > Error: undefined identifier ::std::typeinfo > > ( typeinfo is the return value of typeid ). > > RTTI is enabled within the compiler options. > > Thanks for any hint (CDK 3.5, Metrowerks 4.1).
What runtime library are you linking with? The RTTI support functions are only included in the "MSL Palm OS Runtime" libs, not the StartupCode.lib file. (Using IDE 4.1 indicates you're using CodeWarrior for Palm OS V7). To see a definition of ::std::typeinfo, you need to #include <typeinfo> from the MSL tree before attempting to use. -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead Get help at http://palmoswerks.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
