stlab / adobe-contract-checks

Contract checking facilities for C++
Boost Software License 1.0
6 stars 0 forks source link

Deal with the fact that signal handler installation may not be guaranteed to run. #26

Open dabrahams opened 2 weeks ago

dabrahams commented 2 weeks ago

It's a dynamic initialization of a global. IIRC there's no way to guarantee it runs according to the standard. Can you help @sean-parent ?

sean-parent commented 2 weeks ago

It's not - you could provide the main() or a SetUp for gtest (I believe this is only used in our test cases) - or not worry about it since it is working for our tests.