Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/StringRef.tests.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2017-06-02 19:10:57 +0200
committerMartin Hořeňovský2017-06-02 19:10:57 +0200
commitadb66f55a7f99147a8e3b4f9781399d9262d4e09 (patch)
tree2cf97f05c5658525b942472be177b6fd078ed87f /projects/SelfTest/StringRef.tests.cpp
parent377c9a746d1623ff51f8d48dde72f090ad960cd8 (diff)
downloadcatch3-adb66f55a7f99147a8e3b4f9781399d9262d4e09.tar.gz
Don't include warning headers from catch_xmlwriter.hpp
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
Diffstat (limited to 'projects/SelfTest/StringRef.tests.cpp')
0 files changed, 0 insertions, 0 deletions