occt: master b3d20c7f

Author Committer Branch Timestamp Parent
abv apn master 2016-12-29 11:37:42 master 96fffdc6
Affected Issues  0028217: Error handling is not thread safe and causing memory corruption and sporadic crashes
Changeset 0028217: Error handling is not thread safe and causing memory corruption and sporadic crashes

Static variable holding handle to the last raised exception is made thread-local on compilers that support C++11 keyword thread_local (MCVC++ 14+, GCC 4.8+, ICC 14+, CLang).
Test bugs fclasses bug28217 is added (BAD on vc < 14 and gcc < 4.8).

Test case tuning bugs/fclasses/bug28217
mod - src/QABugs/QABugs_20.cxx Diff File
mod - src/Standard/Standard_Failure.cxx Diff File
add - tests/bugs/fclasses/bug28217 Diff File