Re: current FreeTDS with Visual Studio 2008 (VC9)
"Neuhauser, Roman (GE Capital, consultant)" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <D3A73269432A224FA3E7ECE3DDDFCE40046CF7D9@LONMLVEM10.e2k.ad.ge.com> |
> From: Neuhauser, Roman (GE Capital, consultant) > > 2010/8/17 Frediano Ziglio <[email protected]>: > > > 2010/8/16 Neuhauser, Roman (GE Capital, consultant) <[email protected]>: > > >> c:\php-sdk\php533\vc9\x86\freetds-0.83.dev.20100810\src\odbc\sqlwparams.h(23) : error C2375: 'SQLDriverConnect' : redefinition; different linkage > > >> c:\Program Files\Microsoft SDKs\Windows\v6.1\\include\sqlext.h(1683) : see declaration of 'SQLDriverConnect' > > > > > > Confirmed. msvc does not like two definition one with > > > __declspec(dllexport) and another without... > > > > Fixed. > > > > freddy77 > > thanks a lot! but now i have another nag: the "Nightly snapshot" > i downloaded today is the same as the one i downloaded two days ago, > and it looks like it hasn't been regenerated since 2010-08-10, since > the top-level dir it contains is called freetds-0.83.dev.20100810. today's freetds-current.tgz contains freetds-0.83.dev.20100819, so this is fixed, thanks. the build spews many warnings that could be silenced by defining _CRT_SECURE_NO_WARNINGS, it would be nice if you could add that to the dsw/dsp files (wherever it belongs).