Skip to content

CMakeVersion.rc: Avoid leading zeros in integer version components

Brad King requested to merge brad.king/cmake:cmake-rc-version-decimal into master

The split in !1552 (merged) can leave components "2018,0309", but the latter is an octal constant with digit "9" out of range. Strip the leading zero to express the components as "2018,309" so the resource compiler treats them as decimal.

Merge request reports