Exceptions are unexpectedly disabled
Closed this issue · 1 comments
tusooa commented
Same issue as arximboldi/immer#168 . If lager/config.hpp is included after any Qt headers, exceptions are not enabled. This is in gcc 13.2 , c++ 17.
https://github.com/arximboldi/lager/blob/master/lager/config.hpp checks for __has_feature
to decide whether to enable exceptions, which might not be accurate.
We should have a way to explicitly enable exceptions, bypassing the (inaccurate) check.
cc @apr3vau , who reproduced a crash in kazv related to this problem. (https://lily-is.land/kazv/kazv/-/merge_requests/104)
arximboldi commented
Also related: https://bugreports.qt.io/browse/QTBUG-109602