http://sourceware.org/bugzilla/show_bug.cgi?id=13051
Summary: windres fails on reading VERSIONINFO with multiple language BLOCKS Product: binutils Version: 2.21 Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassig...@sources.redhat.com ReportedBy: play...@onet.eu Created attachment 5871 --> http://sourceware.org/bugzilla/attachment.cgi?id=5871 windres patch to solve the VERSIONINFO bug The current version of windres does not support multiple language blocks inside single StringFileInfo block. Example: windres.exe -i version.rc -J rc -o test.res -O coff -c 65001 windres.exe: version.rc: 30 syntax error Source of version.rc: LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL VS_VERSION_INFO VERSIONINFO FILEVERSION 1,0,0,0 PRODUCTVERSION 1,0,0,0 FILEOS VOS_NT_WINDOWS32 FILETYPE VFT_APP FILESUBTYPE VFT2_UNKNOWN FILEFLAGSMASK 0x0000003f FILEFLAGS 0x00000000 { BLOCK "StringFileInfo" { BLOCK "041504b0" { VALUE "FileDescription", "Polish test" VALUE "FileVersion", "1, 0, 0, 0" VALUE "InternalName", "test.exe" VALUE "OriginalFilename", "test.exe" VALUE "ProductName", "Test" VALUE "ProductVersion", "1, 0, 0, 0" } BLOCK "040904b0" { VALUE "FileDescription", "English test" VALUE "FileVersion", "1, 0, 0, 0" VALUE "InternalName", "test.exe" VALUE "OriginalFilename", "test.exe" VALUE "ProductName", "Test" VALUE "ProductVersion", "1, 0, 0, 0" } } BLOCK "VarFileInfo" { VALUE "Translation", 0x0415, 0x04b0, 0x0409, 0x04b0 } } Additional info: http://msdn.microsoft.com/en-us/library/cc194812.aspx I've made a patch to solve this problem. It is attached below. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils