Hi Stephan,

> And all this weird code in except.cxx is only necessary because our C++ 
> UNO exceptions do not make plain C++ RTTI available (see Frank's post)! 
>   This got me thinking:  What about actually changing the C++ UNO 
> binding, conditionally for _MSC_VER >= 1500 only, for OOo 3.0, by adding 
> a virtual destructor to com::sun::star::uno::Exception?

Well, as much as I'd appreciate RTTI for our Exceptions, doing this on
one platform only is pretty dangerous. People developing on this
platform might be tempted to use RTTI outside of getCaughtException, and
such code will *silently* fail on other platforms. IMO, this is a
predetermined breaking point - if not now, then next year, or the year
after, for some new developer not knowing the backgrounds.

So, for the sake of code quality, I'd give a -1 to this.

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to