bug-gnulib
[Top][All Lists]
Advanced

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

Re: MSVC and fseeko.c


From: Gisle Vanem
Subject: Re: MSVC and fseeko.c
Date: Tue, 13 Dec 2016 14:20:14 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0

Bruno Haible wrote:

> $ ./gnulib-tool --create-testdir --dir=/tmp/testdir-stdioext --with-tests \
>                 --single-configure --avoid=havelib-tests \
>                 fseterr freadable fwritable fbufmode freading fwriting \
>                 freadptr freadseek freadahead fpurge fseeko ftello fpending \
>                 fflush
> 
> With this patch, this testdir passes its testsuite on MSVC 14, both in 32-bit
> and in 64-bit mode, except for the 'fpending' module.

Thanks alot for your effort on this. It compiles fine, but I'm not sure
it works for all test-f*.exe tests. In test-fseeko.exe, I get this assert:
  test-fseeko.c:45: assertion 'r1 == r2 && r1 == expected' failed

(r1 = -1, r2 = 0, expected = 0).

You tested this with MSVC 14? Does this use the "old" MSVCRT.dll?
BTW. I'm on Win-10 using MSVC 2015 and the WindowsKit (Universal CRT
ver. 10.0.10586.0).

I noticed you patched stdio-impl.h with the 'struct _gl_real_FILE' stuff.
Are you sure this is compatible with this newer Windows SDK?

-- 
--gv



reply via email to

[Prev in Thread] Current Thread [Next in Thread]