[PSDK]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 2 Mar 2014 21:18:32 +0000 (21:18 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 2 Mar 2014 21:18:32 +0000 (21:18 +0000)
* Don't warn about ignored attributes in Clang build.

svn path=/trunk/; revision=62396

reactos/include/psdk/strsafe.h

index f3f7eac..0a89160 100644 (file)
 #include <stdarg.h>
 #include <specstrings.h>
 
+#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_ */