RTTI in Kdevelop Projects
W. Tasin
tasin at fhm.edu
Wed Mar 6 17:02:28 GMT 2002
Hi,
please try:
return dynamic_cast<Argus::ObjectBox::Contents*> (worldBox);
Ciao
Walter
Graeme Phillipson wrote:
>Hello,
>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;
>produces
>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.........
(Zucchero)
:-------W._Tasin,_FB_04,_FHM-------------------PGP-KeyID:0x7961A645---:
<Key-Fingerprint: 1610 835F 0080 32F4 6140 6CF7 A7D0 44CD 7961A645>
<http://wwwkeys.pgp.net:11371/pks/lookup?op=index&search=0x7961A645&fingerprint=on>
-
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