On 06/29/2011 01:25 AM, wylda@volny.cz wrote:
It fails on the #include "winternl.h" line and these are standard includes, you can try to replace
[code] #include <stdarg.h> #include <stdio.h> [/code]
code fragment with
[code] #include "config.h" #include "wine/port.h"
#include <assert.h> #include <stdarg.h> #include <stdio.h> [/code]
maybe that will change something.
Unfortunately that's too generic for me (i can't handle code) :-( I would need it in more detail way or a patch. But i'm not asking you from that. I do not want to waste developers time ;)
Others that have successfully built with the patch applied are WINE's testbot and two persons from http://bugs.winehq.org/show_bug.cgi?id=20395
Maybe gcc 4.4.5 is too old or i'm extremly dumb today :-/
Regards, W.
I'm not a WINE developer, just scratching my own itch :)
I have the same gcc version. Well, this might be a legitimate issue, another important thing would be to see the ./configure output log.
I've merged the patch with the include lines modified, so they would be identical to the include files mostly used in the other wineserver c files. This is just a guess, I have no idea why it doesn't work. There is also today's commit, that changed include/winternl.h: "ntdll: Encode the function pointers in the vectored handler list", but it's not related.
The patch is rebased against today's commits - http://dl.dropbox.com/u/6901628/raw.patch
There are some paranormal stuff in wineserver, like in the first revision of this patch (I haven't tried since then), if I removed the user.h include (which is not used), some magical force was preventing from successfully copying lParam value in the peek_message function (it had the correct value from the source, but the target was reset back to some constant) for each WM_INPUT message I posted, while other messages where working just fine.