inserting product version "1.7" prevents compiling
Original Reporter info from Mantis: MoosMutz
-
Reporter name: Steffen Meyer
Original Reporter info from Mantis: MoosMutz
- Reporter name: Steffen Meyer
Description:
When I am including a VersionInfo to my executable and insert a Product version containing only 2 numbers, like "1.7" then windres will not be able to compile the generated .rc into the .res file.
Settings:
Menu: Project - Project Options - Tab: Version Info
Button: Additional Information
Line: Product Version: set to "1.7"
Diagnostics:
Using `gcc -E -xc -DRC_INVOKED S:\Lazarus\Test.rc'
Using popen to read preprocessor output
windres: S:\Lazarus\Test.rc:4: syntax error
Errors found while compiling S:\Lazarus\Test.rc
Additional information:
If the line is left empty, the value from the "Version Info" is taken (4 digits) and all is ok. If the line will contain 4 digits, like "1.7.0.1" all is ok. But if the line contains only 2 digits the compilation will fail.
Mantis conversion info:
- Mantis ID: 10610
- Version: 0.9.24
- Fixed in version: 0.9.29 (SVN)
- Target version: 1.4