From 257374c12b195ae1aaaf2e59df1bc5b392810cb8 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sun, 2 Mar 2014 21:18:32 +0000 Subject: [PATCH] [PSDK] * Don't warn about ignored attributes in Clang build. svn path=/trunk/; revision=62396 --- reactos/include/psdk/strsafe.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/reactos/include/psdk/strsafe.h b/reactos/include/psdk/strsafe.h index f3f7eac7f21..0a891601520 100644 --- a/reactos/include/psdk/strsafe.h +++ b/reactos/include/psdk/strsafe.h @@ -12,6 +12,11 @@ #include #include +#ifdef __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wignored-attributes" +#endif + #ifndef _SIZE_T_DEFINED #define _SIZE_T_DEFINED #undef size_t @@ -2059,4 +2064,9 @@ STRSAFE_INLINE_API StringGetsExWorkerW(STRSAFE_LPWSTR pszDest,size_t cchDest,siz #undef _getws #define _getws _getws_instead_use_StringCbGetsW_or_StringCchGetsW; #endif + +#ifdef __clang__ +#pragma clang diagnostic pop #endif + +#endif /* _STRSAFE_H_INCLUDED_ */ -- 2.17.1