approvals / ApprovalTests.cpp

Native ApprovalTests for C++ on Linux, Mac and Windows
https://approvaltestscpp.readthedocs.io/en/latest/
Apache License 2.0
318 stars 51 forks source link

Try to treat warnings as errors in Boost_Tests - on Linux and Mac #122

Closed claremacrae closed 4 years ago

claremacrae commented 4 years ago

Step 1:

In ef768e3d68bb4b48bd87978ddb0a7b6aa02a5dd1 ("t Try enabling Warnings-as-Errors in Boost_Tests") I turned on treating warnings as errors. The result was:

Step 2:

In ae44e3818654dae3f6193fc4cf6571fea3e8be0f ("e Treat Boost headers as system headers, to suppress warnings for them"):

claremacrae commented 4 years ago

Options:

claremacrae commented 4 years ago

This is now fixed. In Boost_Tests, warnings are treated as errors on Mac and Linux builds. On Windows, they are not.