]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix harmless warning from g++ 4.8 in C11 mode.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 May 2012 12:30:47 +0000 (12:30 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 20 May 2012 12:30:47 +0000 (12:30 +0000)
g++ 4.8 recognizes "cpu" in WX_CC_MANIFEST expansion as a user-defined literal
suffix, add spaces around it to prevent this from happening.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 86fa0c820d20e6da818895b9d5522873f930f2f9..d45939038947f5ab9bab85af56e5a543832171f8 100644 (file)
@@ -3282,7 +3282,7 @@ typedef const void* WXWidget;
     "/manifestdependency:\"type='win32'         \
      name='Microsoft.Windows.Common-Controls'   \
      version='6.0.0.0'                          \
-     processorArchitecture='"cpu"'              \
+     processorArchitecture='" cpu "'            \
      publicKeyToken='6595b64144ccf1df'          \
      language='*'\""