• Chad Austin's avatar
    turn off /EHa · a5e8658c
    Chad Austin authored
    Summary:
    The /EHa flag tells MSVC to catch asynchronous (structured) exceptions
    in `catch(...)` blocks. This is generally a bad idea, because
    structured exceptions include page faults, stack overflow, division by
    zero, and illegal instructions, at which point attempting to run
    further arbitrary C++ code will have wonky effects in the best
    case. It would probably also clobber any state required to debug the
    original failure.
    
    Reviewed By: Orvid
    
    Differential Revision: D16390933
    
    fbshipit-source-id: 2997daaf350680dc9d0c7da3cabab8749e8ecb82
    a5e8658c
FollyCompilerMSVC.cmake 19.3 KB