Commit 967a79b1 authored by Dominik Charousset's avatar Dominik Charousset

Suppress warnings on GCC

parent a441111d
......@@ -28,6 +28,11 @@
#include "caf/config.hpp"
#include "caf/actor_control_block.hpp"
#ifdef CAF_GCC
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Winvalid-offsetof"
#endif
namespace caf {
template <class T>
......@@ -125,4 +130,8 @@ void intrusive_ptr_release(actor_storage<T>* x) {
} // namespace caf
#ifdef CAF_GCC
#pragma GCC diagnostic pop
#endif
#endif // CAF_ACTOR_STORAGE_HPP
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