[liblouis-liblouisxml] Re: Analysis of regressions in ueb_update branch

  • From: Christian Egli <christian.egli@xxxxxx>
  • To: Michael Gray <mgray@xxxxxxx>
  • Date: Thu, 03 Mar 2016 15:57:32 +0100

Michael Gray <mgray@xxxxxxx> writes:

I have seen from your efforts that it is difficult to build gnulib with
MSVC. I have never built it myself on MSVC. Is it because gnulib relies
heavily on the autotools? All I know is that gnulib itself has ifdefs in
it for MSVC so I assumed it would also help with portability problems
for MSVC.

The issue I have come across is that Windows does not support all POSIX 
functions, e.g. strndup.

But now I'm confused. That is the whole point of gnulib: that it
contains (POSIX) functionality for the platforms that do not support it.
If you include the module strndup then it will create the functionality
on Mac OS X 10.5 or MSVC 9 for example. Libc-based platforms will just
use the code in libc. But for that to work I guess you need configure
(and some of the other autotools machinery). I thought the need of
autotools was the problem.

Anyway, I'll try to find out.

Thanks
Christian

-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland

-----
Das neue Katalog-Angebot ist ab sofort verfuegbar. Mehr zu unseren Katalogen 
erfahren Sie unter http://www.sbs.ch/kataloge.
For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: