Author: akhaldi
Date: Sun Mar 2 21:18:32 2014
New Revision: 62396
URL:
http://svn.reactos.org/svn/reactos?rev=62396&view=rev
Log:
[PSDK]
* Don't warn about ignored attributes in Clang build.
Modified:
trunk/reactos/include/psdk/strsafe.h
Modified: trunk/reactos/include/psdk/strsafe.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/strsafe.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/strsafe.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/strsafe.h [iso-8859-1] Sun Mar 2 21:18:32 2014
@@ -11,6 +11,11 @@
#include <string.h>
#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
@@ -2059,4 +2064,9 @@
#undef _getws
#define _getws _getws_instead_use_StringCbGetsW_or_StringCchGetsW;
#endif
+
+#ifdef __clang__
+#pragma clang diagnostic pop
#endif
+
+#endif /* _STRSAFE_H_INCLUDED_ */