diff --git a/SWIG/Lib/std/std_except.i b/SWIG/Lib/std/std_except.i index 50deaf1a7..75b8d0fd6 100644 --- a/SWIG/Lib/std/std_except.i +++ b/SWIG/Lib/std/std_except.i @@ -1,3 +1,7 @@ +#if defined(SWIGJAVA) || defined(SWIGCSHARP) +#error "do not use this version of std_except.i" +#endif + %{ #include %}