Title: [149295] trunk/Source/WTF
- Revision
- 149295
- Author
- [email protected]
- Date
- 2013-04-29 10:13:31 -0700 (Mon, 29 Apr 2013)
Log Message
[WIN] Add workaround for UNUSED_PARAM()
https://bugs.webkit.org/show_bug.cgi?id=115350
Reviewed by Andreas Kling.
r147882 added an workaround for the MSVC compiler on Windows CE.
Extend this workaround to whole MSVC compiler, since the same
problem occurs with the Visual Studio 10 compiler too.
* wtf/UnusedParam.h:
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (149294 => 149295)
--- trunk/Source/WTF/ChangeLog 2013-04-29 17:12:00 UTC (rev 149294)
+++ trunk/Source/WTF/ChangeLog 2013-04-29 17:13:31 UTC (rev 149295)
@@ -1,5 +1,18 @@
2013-04-29 Patrick Gansterer <[email protected]>
+ [WIN] Add workaround for UNUSED_PARAM()
+ https://bugs.webkit.org/show_bug.cgi?id=115350
+
+ Reviewed by Andreas Kling.
+
+ r147882 added an workaround for the MSVC compiler on Windows CE.
+ Extend this workaround to whole MSVC compiler, since the same
+ problem occurs with the Visual Studio 10 compiler too.
+
+ * wtf/UnusedParam.h:
+
+2013-04-29 Patrick Gansterer <[email protected]>
+
[WIN] Add WTF_USE_IMLANG_FONT_LINK2
https://bugs.webkit.org/show_bug.cgi?id=115198
Modified: trunk/Source/WTF/wtf/UnusedParam.h (149294 => 149295)
--- trunk/Source/WTF/wtf/UnusedParam.h 2013-04-29 17:12:00 UTC (rev 149294)
+++ trunk/Source/WTF/wtf/UnusedParam.h 2013-04-29 17:13:31 UTC (rev 149295)
@@ -27,7 +27,7 @@
template<typename T>
inline void unusedParam(T& x) { (void)x; }
#define UNUSED_PARAM(variable) unusedParam(variable)
-#elif COMPILER(MSVC) && OS(WINCE)
+#elif COMPILER(MSVC)
#define UNUSED_PARAM(variable) (void)&variable
#else
#define UNUSED_PARAM(variable) (void)variable
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes