Commit 81856c7b authored by Dominik Charousset's avatar Dominik Charousset

Fix formatting and newline-escaping

parent 3562ae6d
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
# define CAF_UNLIKELY(x) __builtin_expect((x), 0) # define CAF_UNLIKELY(x) __builtin_expect((x), 0)
# define CAF_DEPRECATED __attribute__((deprecated)) # define CAF_DEPRECATED __attribute__((deprecated))
# 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 \"-Wshadow\"") \ _Pragma("GCC diagnostic ignored \"-Wshadow\"") \
_Pragma("GCC diagnostic ignored \"-Wpragmas\"") \ _Pragma("GCC diagnostic ignored \"-Wpragmas\"") \
...@@ -220,10 +220,10 @@ ...@@ -220,10 +220,10 @@
# define CAF_POSIX # define CAF_POSIX
#endif #endif
#if defined(CAF_WINDOWS) #if defined(CAF_WINDOWS) && defined(CAF_CLANG)
# if defined(__clang__) // Fix for issue with static_cast<> in objbase.h.
struct IUnknown; // fix for issue with static_cast<> in objbase.h (see https://github.com/philsquared/Catch/issues/690) // See: https://github.com/philsquared/Catch/issues/690.
# endif struct IUnknown;
#endif #endif
#include <cstdio> #include <cstdio>
......
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