Enable Werror for dev builds

This commit is contained in:
Martin Hořeňovský
2017-11-21 15:23:30 +01:00
parent 3b965aa501
commit 87c125ecb8
4 changed files with 22 additions and 3 deletions

View File

@@ -8,7 +8,10 @@
#ifdef __clang__
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wpadded"
# pragma clang diagnostic ignored "-Wdouble-promotion"
// Wdouble-promotion is not supported until 3.8
# if (__clang_major__ > 3) || (__clang_major__ == 3 && __clang_minor__ > 7)
# pragma clang diagnostic ignored "-Wdouble-promotion"
# endif
#endif
#include "catch.hpp"