Conformance test --MSVC Headers 1 of 2 OverLook last 1 of 2 ...

Vincent Béron vberon at mecano.gme.usherb.ca
Tue Dec 10 13:22:04 CST 2002


> c:\include\wine\dlls\ntdll\tests\error.c(23) : fatal error C1083: Cannot 
> open include file: 'ntstatus.h': No such file or directory
> rtlbitmap.c
> c:\include\wine\dlls\ntdll\tests\rtlbitmap.c(26) : fatal error C1083: 
> Cannot open include file: 'winternl.h': No such file or directory

See the explanation below.

> NOTE: WINVER has been defined as 0x0500 or greater which enables
> Windows NT 5.0 and Windows 98 features. When these headers were released,
> Windows NT 5.0 beta 1 and Windows 98 beta 2.1 were the current versions.
> For this release when WINVER is defined as 0x0500 or greater, you can only
> build beta or test applications.  To build a retail application,
> set WINVER to 0x0400 or visit http://www.microsoft.com/msdn/sdk
> to see if retail Windows NT 5.0 or Windows 98 headers are available.
> See the SDK release notes for more information.
> c:\include\wine\dlls\oleaut32\tests\vartest.c(656) : fatal error C1064: 
> compiler limit : token overflowed internal buffer
> Error executing cl.exe.

See the explanation below for the NOTE.
For the token overflow, I guess MSVC has a lower limit than gcc. Anyway, what's the reason to have a 200+ characters long number? Wouldn't it be easier on the compiler to have 9.9999997e200 (or something like that), and it'd be the same value?

> c:\include\wine\dlls\ntdll\tests\error.c(23) : fatal error C1083: Cannot 
> open include file: 'ntstatus.h': No such file or directory
> rtlbitmap.c
> c:\include\wine\dlls\ntdll\tests\rtlbitmap.c(26) : fatal error C1083: 
> Cannot open include file: 'winternl.h': No such file or directory

I guess the problem is that you have an old platform SDK installed. I have the same problem, but it'll be fixed in a few days (not my machine, so can't just install a newer one). winternl.h (and maybe ntstatus.h) should be included in recent SDK.

Vincent




More information about the wine-devel mailing list