[Bug 1225] - unable to compile ole

wine-bugs at winehq.com wine-bugs at winehq.com
Wed Jan 15 07:36:32 CST 2003


http://bugs.winehq.com/show_bug.cgi?id=1225





------- Additional Comments From hughes2002 at btinternet.com  2003-01-15 07:36 -------
I can confirm the same error occurs with GCC 3.1 and glibc-2.2.4. 
 
It is due to the nameless struct MONITORINFO which occurs in winuser.h. 
A temporary hack is to define -DNONAMELESSSTRUCT in the ole/Makefile. 
Doing this allows the compile to continue until it comes upon the next #include 
of winuser.h.  So far, I've found it occurs in tools/bin2res, tools/wrc, dlls/d3d8 and dlls/d3dx8 
and dlls/opengl32. 
Defining NONAMELESSSTRUCT in the appropriate .c file that includes winuser.h also solves the 
problem on a smaller scale. 

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=1225>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list