Open
Description
#include <winver.h>
1 VERSIONINFO
FILEVERSION 0,2025,0618,1507
llvm-rc: Error parsing file: Integer invalid or too large: 0618
FILEVERSION spec says:
Binary version number for the file. The version consists of two 32-bit integers, defined by four 16-bit integers. For example, "FILEVERSION 3,10,0,61" is translated into two doublewords: 0x0003000a and 0x0000003d, in that order. Therefore, if version is defined by the DWORD values dw1 and dw2, they need to appear in the FILEVERSION statement as follows: HIWORD(dw1), LOWORD(dw1), HIWORD(dw2), LOWORD(dw2).
https://learn.microsoft.com/en-us/windows/win32/menurc/versioninfo-resource
I'm not sure if the bug is on Microsoft, or llvm
, but regardless, things builds find with Microsoft's rc.exe
but not llvm-rc