mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-23 03:43:28 +01:00
adb66f55a7
This prevents Catch from disabling `Wpadded` for Clang inside test files (files that do not define either `CATCH_CONFIG_MAIN` or `CATCH_CONFIG_RUNNER`). catch_suppress_warnings.h and catch_reenable_warnings.h should be included only once*, so that the stitching script includes them as the first and last header respectively, since it only includes each header once. This caused a bug, where the first one was included properly, but the second one was included prematurely, from catch_xmlwriter.hpp, and thus was guarded by `CATCH_IMPL`. * At least until the stitching script is changed to accomodate common warning disabling header. Fixes #871 |
||
---|---|---|
.. | ||
external | ||
internal | ||
reporters | ||
catch_session.hpp | ||
catch_with_main.hpp | ||
catch.hpp |