Runtime exception check at compile time?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux