Re: [xml] [PATCH] Windows build fixes

On Tue, Sep 18, 2012 at 5:56 PM, Daniel Richard G. wrote:
On Tue, 18 Sep 2012, Earnie Boyd wrote:

Ok It was not tested with so old compilers.

IMO, it should not be.  MSVC6 is near dead.  I suppose it would depend on
if you want to support Windows 95 and before.

MSVC6 is still used as a production compiler by my employer. If you want to
link against MSVCRT.DLL and not MSVCR70.DLL or newer, and can't use MinGW
for whatever reason, then it's the only real option you have.

Then I suggest you create a library to import the symbols you need.
You can create a .def file to create an import library that creates a
linked alias so that _vsnprintf maps to vsnprintf or vice versa.  See for the
documentation on it.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]