Runtime exception check at compile time?
Matt Weiss
MWeiss@xrite.com
Wed Sep 14 19:00:00 GMT 2005
Hey All,
I've painfully discovered that all exceptions in c++ functions must be
declared if they are thrown. Can the compiler enforce this at compile
time instead of at runtime? The -fno-enforce-eh-specs switch can
disable this, but I'd rather enforce exceptions at compile time, if it
at all possible.
Thanks in advance,
Matt
--
Matt Weiss - Software Journeyman
X-Rite, Incorporated
3100 44th Street SW
Grandville, MI 49418
More information about the Gcc-help
mailing list