From 40857d43a3493214f9bba1ffd6507d9d5d53b908 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 2 Aug 2009 00:19:55 +0000 Subject: [PATCH] Skip VarFileInfo block when using windres. It doesn't seem to understand this syntax and dies with an uninformative "syntax error". Closes #11055. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/version.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/msw/version.rc b/src/msw/version.rc index f7919720cc..c3f51db8f5 100644 --- a/src/msw/version.rc +++ b/src/msw/version.rc @@ -62,8 +62,11 @@ BEGIN VALUE "SpecialBuild", "\0" END END + // windres can't handle the syntax below for some reason (see #11055) +#ifndef __GNUC__ BLOCK "VarFileInfo" BEGIN VALUE "Translation", LANG, CHARSET END +#endif // !__GNUC__ END