Re: stdarg.h in winbase.h

2003-09-03 Thread Eric Pouech
Dimitrie O. Paun wrote: On Wed, 3 Sep 2003, Eric Pouech wrote: if someone wants to work on this, here's a little comparison of wine's headers (on left hand side) and windows (on the right hand side). I only listed the headers I add on both sides. Cool -- I'll fix commctrl.h. I have already st

Re: stdarg.h in winbase.h

2003-09-03 Thread Francois Gouget
On Wed, 3 Sep 2003, Dimitrie O. Paun wrote: [...] > So, in other words, in Windows, the following program does not compile? > > #include > > int main() { return 0; } Yep. In Windows you always have to do: #include int main() { return 0; } And windows.h includes stdarg.h and winbase.h for you

Re: stdarg.h in winbase.h

2003-09-03 Thread Dimitrie O. Paun
On Wed, 3 Sep 2003, Eric Pouech wrote: > if someone wants to work on this, here's a little comparison of wine's > headers (on left hand side) and windows (on the right hand side). > I only listed the headers I add on both sides. Cool -- I'll fix commctrl.h. -- Dimi.

Re: stdarg.h in winbase.h

2003-09-03 Thread Eric Pouech
Alexandre Julliard wrote: "Dimitrie O. Paun" <[EMAIL PROTECTED]> writes: With this patch, we can get rid of the stdarg.h include from winbase.h if it weren't for the FormatMessage() functions: DWORD WINAPI FormatMessageA(DWORD,LPCVOID,DWORD,DWORD,LPSTR,DWORD,va_list*); DWORD WINAPI Fo

Re: stdarg.h in winbase.h

2003-09-03 Thread Alexandre Julliard
"Dimitrie O. Paun" <[EMAIL PROTECTED]> writes: > So, in other words, in Windows, the following program does not compile? > > #include > > int main() { return 0; } No it doesn't, and not only because of stdarg.h, our winbase.h also includes basetsd.h and windef.h that should be removed too. And s

Re: stdarg.h in winbase.h

2003-09-03 Thread Dimitrie O. Paun
On Wed, 3 Sep 2003, Alexandre Julliard wrote: > We have to include stdarg.h everywhere we include winbase.h, about 650 > files at last count. That's why we need some kind of script... So, in other words, in Windows, the following program does not compile? #include int main() { return 0; } --

Re: stdarg.h in winbase.h

2003-09-03 Thread Alexandre Julliard
"Dimitrie O. Paun" <[EMAIL PROTECTED]> writes: > With this patch, we can get rid of the stdarg.h > include from winbase.h if it weren't for the > FormatMessage() functions: > > DWORD WINAPI FormatMessageA(DWORD,LPCVOID,DWORD,DWORD,LPSTR,DWORD,va_list*); > DWORD WINAPI FormatMessageW(DW