Opened 8 years ago

Closed 8 years ago

#6255 closed defect (fixed)

Linking error with VS2015

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 2.0.2
Component: ConfigBuild Version: unspecified
Severity: normal Keywords: vs2015
Cc:

Description

VS2015 cause linking error with ODBC:

odbccp32.lib(dllload.obj) : error LNK2019: unresolved external symbol _vsnwprintf_s referenced in function StringCchPrintfW

It appears one has to add legacy_stdio_definitions.lib : https://connect.microsoft.com/VisualStudio/feedback/details/1134693/vs-2015-ctp-5-c-vsnwprintf-s-and-other-functions-are-not-exported-in-appcrt140-dll-breaking-linkage-of-static-libraries

Change History (1)

comment:1 by Even Rouault, 8 years ago

Milestone: 2.0.2
Resolution: fixed
Status: newclosed

Fixed in trunk r32019, branches/2.0 r32023

Note: See TracTickets for help on using tickets.