Re: Win32 Make

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <CAHt6W4fGtLdss5Jesd2AwzFc=eK9+FAthg=2oNRQYfOZFpq-zg@mail.gmail.com>
2015-07-31 18:30 GMT+01:00 Michael Becker <[email protected]>:
>> For the printf problem I ended up with this patch
>>
>> https://github.com/FreeTDS/freetds/commit/9503e9accecd47f6c7e71a57b846c3f234313993.
>> Looks fine and works in both Windows and Linux.
>> I started having a problem with linking however.
>>
>> https://ci.appveyor.com/project/FreeTDS/freetds/build/91/job/3wp9db8c3uqvgq0n.
>> Looks like library that visual studio try to use are not compiled with
>> same options :( Could be SDKs used is the wrong one ?
>>
> for that reason I tried to include legacy_stdio_definitions.lib
> if I change the makefile by hand it works fine with the lib, but I didn't
> manage to adjust the CMakeLists.txt in the right way ...
>

I did some updates. printf family function are correctly detected.
Also if needed the legacy_stdio_definitions is included. Still the 64
bit version on AppVeyor does not work. Don't know why. Hope Ramiros
can shed some light.

Frediano
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.