RTTI in Kdevelop Projects

W. Tasin tasin at fhm.edu
Wed Mar 6 17:02:28 GMT 2002


please try:

return dynamic_cast<Argus::ObjectBox::Contents*> (worldBox);



Graeme Phillipson wrote:

>I'm trying to add some dynamic_casts to my project, however they allway cause 
>parse errors i.e.:
>return dynamic_cast<Argus::ObjectBox::Contents*> worldBox;
>parse error before ;
>I got the impression that the templates that produce new classes have rtti 
>turned on by default, however I tired added -frtti to the compiler options 
>just in case, but it didn't have any effect. So what is nessacery to turn on 
>RTTI in KDevelop?
>Any help would be much appreciated.
>Graeme Phillipson.

oohhh sveglia.... il mondo e' ammalato, ma x colpa di chi.........
<Key-Fingerprint: 1610 835F 0080 32F4 6140  6CF7 A7D0 44CD 7961A645>

to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«

More information about the KDevelop mailing list