On Sun, Sep 11, 2011 at 11:05 PM, Michael Goffioul
<michael.goffi...@gmail.com> wrote:
> On Sun, Sep 11, 2011 at 8:59 PM, Bruno Haible <br...@clisp.org> wrote:
>> In a current situation, a number of gnulib modules compile flawlessly
>> on MSVC 9. Therefore it's time to document its current status.
>>
>> Further fixes for this platform are, of course, welcome.
>
> For quite some time now, I've been tweaking my local copy of gnulib in order
> to compile octave with MSVC. I put the current diff I have (not against the
> very latest source, maybe gnulib from about 1 week ago). It is *not* meant
> to be a ready-to-use patch, but more to illustrate the problems I had:
> - O_ACCMODE is not defined
> - PATH_MAX is not defined (though stdlib.h has an equivalent _MAX_PATH)
> - ending a path with double slashes lead to problems (don't remember which
> ones, but Windows didn't like it)
> - MSVC does not support dynamic C array: array size must be a constant,
> not a variable
> - ssize_t does not exist
> - rename m4 test produced filesystem corruption that lead to full recheck on
> the next reboot; I had to disable the test completely

Funny :) Do you know why this test does not do this on mingw ?

Bastien

> I hope this will be useful.
>
> Michael.
>

Reply via email to