Kaydet (Commit) 68c8dcec authored tarafından David Tardon's avatar David Tardon

WaE: "HAVE_GCC_ATTRIBUTE_WARN_UNUSED" is not defined

Change-Id: Id45e2a5c31471b4f5a59c4511bbacc12f78356f6
üst 2270f32c
......@@ -555,7 +555,7 @@ template< typename T1, typename T2 > inline T1 static_int_cast(T2 n) {
*/
#if HAVE_GCC_ATTRIBUTE_WARN_UNUSED
#if defined HAVE_GCC_ATTRIBUTE_WARN_UNUSED
#define SAL_WARN_UNUSED __attribute__((warn_unused))
#elif defined __clang__
#define SAL_WARN_UNUSED __attribute__((annotate("lo_warn_unused")))
......
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