Commit ec70ae90 authored by Dominik Charousset's avatar Dominik Charousset

Fix warnings on Clang under OSX

parent f4af07aa
...@@ -92,6 +92,7 @@ ...@@ -92,6 +92,7 @@
_Pragma("clang diagnostic ignored \"-Wused-but-marked-unused\"") \ _Pragma("clang diagnostic ignored \"-Wused-but-marked-unused\"") \
_Pragma("clang diagnostic ignored \"-Wdisabled-macro-expansion\"") \ _Pragma("clang diagnostic ignored \"-Wdisabled-macro-expansion\"") \
_Pragma("clang diagnostic ignored \"-Wunreachable-code\"") \ _Pragma("clang diagnostic ignored \"-Wunreachable-code\"") \
_Pragma("clang diagnostic ignored \"-Wreserved-id-macro\"") \
_Pragma("clang diagnostic ignored \"-Wsign-conversion\"") _Pragma("clang diagnostic ignored \"-Wsign-conversion\"")
# define CAF_PUSH_NON_VIRTUAL_DTOR_WARNING \ # define CAF_PUSH_NON_VIRTUAL_DTOR_WARNING \
_Pragma("clang diagnostic push") \ _Pragma("clang diagnostic push") \
...@@ -150,7 +151,7 @@ ...@@ -150,7 +151,7 @@
# define CAF_IOS # define CAF_IOS
# else # else
# define CAF_MACOS # define CAF_MACOS
# ifndef _GLIBCXX_HAS_GTHREADS # if defined(CAF_GCC) && ! defined(_GLIBCXX_HAS_GTHREADS)
# define _GLIBCXX_HAS_GTHREADS # define _GLIBCXX_HAS_GTHREADS
# endif # endif
# endif # endif
......
...@@ -135,7 +135,7 @@ public: ...@@ -135,7 +135,7 @@ public:
// nop // nop
} }
void on_exit() { void on_exit() override {
CAF_LOG_TRACE(""); CAF_LOG_TRACE("");
broker_ = invalid_actor; broker_ = invalid_actor;
} }
......
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