MSVC fixes.
Warn on C++ exception declarations for non-extern functions.

This will be made an error.