Hi Jesse,
Jesse Allen schreef:
Judging by that link you sent me, shouldn't it be:
typedef struct tagVMRGUID { #if defined(__cplusplus) ::GUID *pGUID, GUID; #else GUID *pGUID, GUID; #endif } VMRGUID;
Or am i reading that link wrong?
Main problem is of course the msvc compiler doesn't have that problem, but if that ifdef works perhaps it's possible to have it like that.
Cheers, Maarten.
On Tue, Aug 11, 2009 at 7:30 AM, Maarten Lankhorstm.b.lankhorst@gmail.com wrote:
Oh that may have been the correct way for vmrender.idl, but the patch you proposed of protecting with a struct does compile. My app does not use a VMRGUID, so I don't know if it really works :)
Jesse
Hi Jesse,
2009/8/12 Jesse Allen the3dfxdude@gmail.com:
Commit a664043e1d1e93bcbe2 fixes this in the cleanest way for wine, if you know any other spots where wine headers fail to compile with g++ let me know.
Cheers, Maarten.
On Tue, Aug 18, 2009 at 7:44 AM, Maarten Lankhorstm.b.lankhorst@gmail.com wrote:
Well, not g++ problems, but I do actually have two more patches in my tree on the includes. I will send them in sometime soon.
Jesse