On Mar 30, 2007, at 11:59 AM, Sergio Giro wrote:
The errors mentioned are compile errors,
So, you want a strict subset of the language standard. This is best done with something like -fstatic-exception-specifications or maybe - Wexception-specifications -Werror. If you wanted finer control, having an inheritable attribute that says, please statically check exception specifications for all member functions in this class and/ or on the function would be better than replicating the entire mechanism.