Bug #79687 fatal error LNK1118: syntax error in 'VERSION' statement
Submitted: 17 Dec 2015 9:27 Modified: 17 Dec 2015 12:19
Reporter: William ZHANG Email Updates:
Status: Verified Impact on me:
None 
Category:Connector / ODBC Severity:S3 (Non-critical)
Version:5.3.4 OS:Windows ( 6.1.7601)
Assigned to: CPU Architecture:Any

[17 Dec 2015 9:27] William ZHANG
Description:
Build with CMake and Visual Studio 2013 Community version:

mysql-connector-odbc-5.3.4/driver/driverw.def(28): fatal error LNK1118: syntax error in 'VERSION' statement

How to repeat:
See above.

Suggested fix:
Change the file driver\driver.def.cmake to avoid using patch version:

VERSION 0@CONNECTOR_MAJOR@.@CONNECTOR_MINOR_PADDED@.@CONNECTOR_PATCH_PADDED@
=>
VERSION 0@CONNECTOR_MAJOR@.@CONNECTOR_MINOR_PADDED@

Or,

Avoid using it.  We can use the rc file instead.
[17 Dec 2015 12:19] Chiranjeevi Battula
Hello William ZHANG,

Thank you for the bug report.
Verified based on internal discussion with dev's.

Thanks,
Chiranjeevi.