[MDEV-6804] Still compile error with Visual C++ on storage/connect/tabwmi.cpp Created: 2014-09-28  Updated: 2014-09-29  Resolved: 2014-09-29

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - Connect
Affects Version/s: 10.0.14
Fix Version/s: 10.0.15

Type: Bug Priority: Major
Reporter: hiroshi HATAKE Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Environment:

Windows, VS 2013


Attachments: File build-mariadb-10.0.14.log    
Issue Links:
Relates
relates to MDEV-6723 Visual C++ Compile error on storage/c... Closed

 Description   

Compiler: Visual C++ 2013 Express

Problem: Visual Studio generates the following error:

"C:\mrnwork\powershell\work\build-vc2013-zip-32\ALL_BUILD.vcxproj" (identifier not found.) (1) ->
"C:\mrnwork\powershell\work\build-vc2013-zip-32\storage\connect\connect.vcxproj" (identifier not found.) (52) ->
(ClCompile target) ->
C:\mrnwork\powershell\work\source\storage\connect\tabwmi.cpp(203): error C3861: 'max': identifier not found. [C:\mrnwork\powershell\work\build-vc2013-zip-32\storage\connect\connect.vcxproj]

2526 warnings
1 error

NOTICE: I've confirmed that this fix http://bazaar.launchpad.net/~maria-captains/maria/10.0-connect/revision/4034 is commited in 10.0-connect branch, but this commit is not included in MariaDB 10.0.14 release.
And revision 4034 (http://bazaar.launchpad.net/~maria-captains/maria/10.0-connect/revision/4034) is able to compile with VS 2013.



 Comments   
Comment by Elena Stepanova [ 2014-09-29 ]

Thanks for the report. You are right, the last revision from 10.0-connect that made it to 10.0.14 release was 4033 (bertrandop@gmail.com-20140906160828-eul4rpr03x3t339q). I'll update MDEV-6723 accordingly.

Generated at Thu Feb 08 07:14:42 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.