gcc 2.95 COM header file errors
Mark Hindley
mh15@st-andrews.ac.uk
Mon Oct 25 00:00:00 GMT 1999
Hi,
I have found a couple of typos in the COM headers included with gcc 2.95.
initguid.h line 7 needs EXTERN_C:
#define DEFINE_GUID(n,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) EXTERN_C const GUID
n GUID_SECT = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}} //EXTERN_C added MOH
1/10/99
shlobj.h line 541 should be CLSID* or LPCLSID
STDMETHOD(GetClassID)(THIS_ CLSID*) PURE; //Patch MOH 12/9/99 CLSID ->
CLSID*
objidl.h line 478 should be CLSID* or LPCLSID
STDMETHOD(GetClassID)(THIS_ CLSID*) PURE; //Patch MOH 12/9/99 CLSID ->
CLSID*
I think they are right. they certainly work for me.
Mark Hindley
1, Johnston Avenue
Dundee
DD3 8HE
01382 826902
More information about the Gcc-bugs
mailing list