mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-09 11:17:31 +01:00
dd4a3b583a
Static analyzers typically don't do cross-translation unit analysis, so they don't understand that most of the Poco::Bugcheck methods never return. Unfortunately, some of them also don't understand noreturn annotations (see e.g. http://en.cppreference.com/w/cpp/language/attributes), so decorating Bugcheck doesn't help. Instead redefine all the Poco assertion macros to just call abort() iff we're parsed by a known static analyzer. |
||
---|---|---|
.. | ||
Poco |