diff options
| author | Martin Hořeňovský | 2017-06-02 19:10:57 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2017-06-02 19:10:57 +0200 |
| commit | adb66f55a7f99147a8e3b4f9781399d9262d4e09 (patch) | |
| tree | 2cf97f05c5658525b942472be177b6fd078ed87f /scripts/developBuild.py | |
| parent | 377c9a746d1623ff51f8d48dde72f090ad960cd8 (diff) | |
| download | catch3-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 'scripts/developBuild.py')
0 files changed, 0 insertions, 0 deletions