Commit 9bc2ba7f authored by Dominik Charousset's avatar Dominik Charousset

Ignore pragma warnings on GCC

parent c5f8b7ed
...@@ -116,6 +116,7 @@ ...@@ -116,6 +116,7 @@
# define CAF_DEPRECATED_MSG(msg) __attribute__((__deprecated__(msg))) # define CAF_DEPRECATED_MSG(msg) __attribute__((__deprecated__(msg)))
# define CAF_PUSH_WARNINGS # define CAF_PUSH_WARNINGS
_Pragma("GCC diagnostic push") \ _Pragma("GCC diagnostic push") \
_Pragma("GCC diagnostic ignored \"-Wpragmas\"") \
_Pragma("GCC diagnostic ignored \"-Wc++14-extensions\"") \ _Pragma("GCC diagnostic ignored \"-Wc++14-extensions\"") \
_Pragma("GCC diagnostic ignored \"-Wfloat-equal\"") \ _Pragma("GCC diagnostic ignored \"-Wfloat-equal\"") \
_Pragma("GCC diagnostic ignored \"-Wconversion\"") \ _Pragma("GCC diagnostic ignored \"-Wconversion\"") \
......
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