Disallow C++ exception declarations for non-extern functions.