Re: [xml] xmlOutputBufferCreateFile VS2015 I/O error : Bad file descriptor



On 16/04/2016 22:41, Sylvain Pointeau wrote:
for reference I compile libxml this way:
cscript.exe configure.js iconv=no ftp=no http=no compiler=msvc cruntime=/MT
  debug=yes  prefix="build_debug_static_mt" static=yes

When compiling a DLL, /MD should be used instead of /MT. Simply remove "cruntime=/MT" and "static=yes".

additionally I removed iconv (iconv=no), do you confirm that reading UTF-8 and
UTF-16 will still work?

Yes, the UTF encodings work without iconv.

Nick


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