On Mon, Feb 12, 2007 at 01:16:43PM -0800, Ian Lance Taylor wrote:
> Mark Mitchell <[EMAIL PROTECTED]> writes:
> 
> > But, aren't big C++ shared libraries rather different?  Does KDE
> > actually use throw() everywhere, or visibility attributes?  But,
> > presumably, most people don't replace the implementation of
> > ScrollBar::ScrollUp or whatever.  I'd be happy to know I'm wrong here,
> > but I'd be surprised if there aren't large amounts of legacy code that
> > would be hurt by this change.  Do you disagree?
> 
> I don't really have any doubt that somebody, somewhere, wants to
> override a function in a C++ shared library, and wants the overriding
> function to throw an exception.  There is really only one correct
> compiler behaviour here.

I strongly agree that there is only one correct behaviour here.

If KDE doesn't use throw(), or visibility attributees, that's a
failing in KDE, not the compiler.



r~

Reply via email to