Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
-
appveyor
Description
Trying to compile mariadb on appveyor, using MSVC 2015, see:
https://ci.appveyor.com/project/rbock/sqlpp11-connector-mysql/build/1.0.86
I get tons of errors like this one:
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdio.h(1925): warning C4005: 'snprintf': macro redefinition [C:\projects\mariadb-connector-c\build\libmariadb\mariadb_obj.vcxproj]
|
C:\projects\mariadb-connector-c\include\ma_global.h(29): note: see previous definition of 'snprintf'
|
C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdio.h(1927): fatal error C1189: #error: Macro definition of snprintf conflicts with Standard Library function declaration [C:\projects\mariadb-connector-c\build\libmariadb\mariadb_obj.vcxproj
|
Since the define really only depends on WIN32 I see no way to turn the define off.