https://llvm.org/bugs/show_bug.cgi?id=27587
Reid Kleckner <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |WORKSFORME --- Comment #1 from Reid Kleckner <[email protected]> --- You filed this as a clang 3.7 bug. Windows exception handling improved drastically between Clang 3.7 and Clang 3.8. I would recommend using 3.8 if you can. I compiled your code with /EHsc and it worked fine: # In a 32-bit MSVC environent $ clang-cl -m32 -EHsc -fms-compatibility-version=19 -I. main.cpp ENV/ENV_setup.cpp JSN/JSN_load.cpp -Fet.exe && ./t.exe we call a function in LoadJson object which throws an exception we cannot catch exception! # In a 64-bit MSVC environment $ clang-cl -m64 -EHsc -fms-compatibility-version=19 -I. main.cpp ENV/ENV_setup.cpp JSN/JSN_load.cpp -Fet.exe && ./t.exe we call a function in LoadJson object which throws an exception we cannot catch exception! This prints the same thing as MSVC. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list [email protected] http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs
