Commit e75871fc authored by Dominik Charousset's avatar Dominik Charousset

Suppress warnings (mostly -Wunused) in DSL header

parent eab49583
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
_Pragma("clang diagnostic ignored \"-Wdocumentation\"") \ _Pragma("clang diagnostic ignored \"-Wdocumentation\"") \
_Pragma("clang diagnostic ignored \"-Wold-style-cast\"") \ _Pragma("clang diagnostic ignored \"-Wold-style-cast\"") \
_Pragma("clang diagnostic ignored \"-Wsign-conversion\"") \ _Pragma("clang diagnostic ignored \"-Wsign-conversion\"") \
_Pragma("clang diagnostic ignored \"-Wunused-template\"") \
_Pragma("clang diagnostic ignored \"-Wshorten-64-to-32\"") \ _Pragma("clang diagnostic ignored \"-Wshorten-64-to-32\"") \
_Pragma("clang diagnostic ignored \"-Wunreachable-code\"") \ _Pragma("clang diagnostic ignored \"-Wunreachable-code\"") \
_Pragma("clang diagnostic ignored \"-Wdouble-promotion\"") \ _Pragma("clang diagnostic ignored \"-Wdouble-promotion\"") \
......
...@@ -19,11 +19,14 @@ ...@@ -19,11 +19,14 @@
#pragma once #pragma once
#include "caf/all.hpp" #include "caf/all.hpp"
#include "caf/config.hpp"
#include "caf/meta/annotation.hpp" #include "caf/meta/annotation.hpp"
#include "caf/test/unit_test.hpp" #include "caf/test/unit_test.hpp"
#include "caf/detail/gcd.hpp" #include "caf/detail/gcd.hpp"
CAF_PUSH_WARNINGS
namespace { namespace {
struct wildcard { }; struct wildcard { };
...@@ -648,3 +651,4 @@ struct test_coordinator_fixture { ...@@ -648,3 +651,4 @@ struct test_coordinator_fixture {
TESTEE_SCAFFOLD(tname); \ TESTEE_SCAFFOLD(tname); \
behavior tname(tname##_actor* self, __VA_ARGS__) behavior tname(tname##_actor* self, __VA_ARGS__)
CAF_POP_WARNINGS
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment