Trouble compiling tests standalone with cl

Dmitry Timoshkov dmitry at
Sun Oct 2 19:29:54 CDT 2005

"Dan Kegel" <daniel.r.kegel at> wrote:

> ../../../include\winbase.h(2271) : error C2054: expected '(' to follow 'inline'
> Evidently cl doesn't like the inline functions in winnt.h and winbase.h.
> Any suggestions?  It seems a bit strange to be using wine's winnt.h
> when I have MS's headers, but I haven't tracked that down yet.
> Should Wine's headers build with cl?

You need one more define: -Dinline=__inline

And yes, I compile Wine tests (on which I'm working on time from time)
with cl.exe under Windows using Wine headers.


More information about the wine-devel mailing list