Conformance tests compile progress with MSVC

Dimitrie O. Paun dpaun at rogers.com
Sun Sep 14 23:00:48 CDT 2003


On September 11, 2003 12:24 pm, Jakob Eriksson wrote:
> This means with VC++ and MSVC headers 12 EXEs compile, with VC++ and
> MinGW headers 16 EXEs compile.  Crosscompiling tests from Linux is still
> somewhat
> broken as per current CVS, but still 18 EXEs compile!
>
> So crosscompiling gets us the most tests compiled.
>
>
> Errors with MSVC headers:

This may help a little.

ChangeLog
    Use winnt.h instead of ntstatus.h where we can.

Index: dlls/kernel/tests/process.c
===================================================================
RCS file: /var/cvs/wine/dlls/kernel/tests/process.c,v
retrieving revision 1.11
diff -u -r1.11 process.c
--- dlls/kernel/tests/process.c	5 Sep 2003 23:08:36 -0000	1.11
+++ dlls/kernel/tests/process.c	15 Sep 2003 03:32:36 -0000
@@ -24,12 +24,12 @@
 #include <stdlib.h>
 
 #include "wine/test.h"
-#include "ntstatus.h"
 #include "windef.h"
 #include "winbase.h"
 #include "winuser.h"
 #include "wincon.h"
 #include "winnls.h"
+#include "winnt.h"
 
 static char     base[MAX_PATH];
 static char     selfname[MAX_PATH];
Index: dlls/kernel/tests/thread.c
===================================================================
RCS file: /var/cvs/wine/dlls/kernel/tests/thread.c,v
retrieving revision 1.11
diff -u -r1.11 thread.c
--- dlls/kernel/tests/thread.c	5 Sep 2003 23:08:36 -0000	1.11
+++ dlls/kernel/tests/thread.c	15 Sep 2003 03:32:14 -0000
@@ -24,7 +24,6 @@
 #include <stdarg.h>
 
 #include "wine/test.h"
-#include <ntstatus.h>
 #include <windef.h>
 #include <winbase.h>
 #include <winnt.h>
Index: dlls/netapi32/tests/wksta.c
===================================================================
RCS file: /var/cvs/wine/dlls/netapi32/tests/wksta.c,v
retrieving revision 1.8
diff -u -r1.8 wksta.c
--- dlls/netapi32/tests/wksta.c	5 Sep 2003 23:08:35 -0000	1.8
+++ dlls/netapi32/tests/wksta.c	15 Sep 2003 03:33:06 -0000
@@ -25,7 +25,7 @@
 #include "winbase.h"
 #include "wingdi.h"
 #include "winnls.h"
-#include "ntstatus.h"
+#include "winnt.h"
 #include "winresrc.h" /* Ensure we use Unicode defns with native headers */
 #include "nb30.h"
 #include "lmcons.h"


-- 
Dimi.




More information about the wine-devel mailing list