question about standalone tests

Alexandre Julliard julliard at winehq.org
Wed May 25 04:57:23 CDT 2005


Dan Kegel <dank at kegel.com> writes:

> Tried that.
>   $ wget -O lzexpand_main.c 'http://cvs.winehq.org/cvsweb/~checkout~/wine/dlls/lzexpand/tests/lzexpand_main.c?rev=1.4&content-type=text/plain'
>   $ mkdir wine
>   $ wget -O wine/test.h 'http://cvs.winehq.org/cvsweb/~checkout~/wine/include/wine/test.h?rev=1.14'
>   $ cl -I. -DWINETEST_WANT_MAIN -D_X86_ lzexpand_main.c
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
> Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
> 
> lzexpand_main.c
> h:\demo\x\wine\test.h(128) : error C2065: 'stdout' : undeclared identifier
> ...
> 
> Adding #include <stdio.h> to wine/test.h fixes that first problem, but leaves
> h:\demo\x\wine\test.h(264) : error C2065: 'winetest_testlist' : undeclared identifier
> ...

I put in some fixes, it should work better now.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list