]> git.saurik.com Git - wxWidgets.git/blob - Mingw32-gcc295.patches
gcc warning about printf() format mismatch corrected
[wxWidgets.git] / Mingw32-gcc295.patches
1 *** \gcc-inc\basetyps.h Sat Jul 31 16:48:36 1999
2 --- basetyps.h Fri Aug 06 11:14:36 1999
3 ***************
4 *** 74,91 ****
5 --- 74,97 ----
6 STDMETHOD(Clone)(IENUM_THIS_(I) I**) PURE; \
7 }
8 #define DECLARE_ENUMERATOR(T) DECLARE_ENUMERATOR_(IEnum##T,T)
9
10 + #ifndef GUID_DEFINED
11 + #define GUID_DEFINED
12 typedef struct _GUID
13 {
14 unsigned long Data1;
15 unsigned short Data2;
16 unsigned short Data3;
17 unsigned char Data4[8];
18 } GUID;
19 + #endif /* GUID_DEFINED */
20 typedef GUID *REFGUID;
21 typedef GUID *LPGUID;
22 + #ifndef UUID_DEFINED
23 + #define UUID_DEFINED
24 typedef GUID UUID;
25 + #endif /* UUID_DEFINED */
26 typedef GUID IID;
27 typedef GUID CLSID;
28 typedef CLSID *LPCLSID;
29 typedef IID *LPIID;
30
31
32 *** \gcc-inc\oaidl.h Sat Jul 31 16:48:42 1999
33 --- oaidl.h Fri Aug 06 13:18:48 1999
34 ***************
35 *** 39,44 ****
36 --- 39,53 ----
37 #define IMPLTYPEFLAG_FRESTRICTED 4
38 #define IMPLTYPEFLAG_FDEFAULTVTABLE 8
39
40 + #define DISPID_UNKNOWN ( -1 )
41 + #define DISPID_VALUE ( 0 )
42 + #define DISPID_PROPERTYPUT ( -3 )
43 + #define DISPID_NEWENUM ( -4 )
44 + #define DISPID_EVALUATE ( -5 )
45 + #define DISPID_CONSTRUCTOR ( -6 )
46 + #define DISPID_DESTRUCTOR ( -7 )
47 + #define DISPID_COLLECT ( -8 )
48 +
49 typedef interface ITypeLib *LPTYPELIB;
50 typedef interface ICreateTypeInfo *LPCREATETYPEINFO;
51 typedef interface ICreateTypeInfo2 *LPCREATETYPEINFO2;
52 ***************
53 *** 49,54 ****
54 --- 58,73 ----
55 typedef interface IDispatch *LPDISPATCH;
56 typedef interface ICreateErrorInfo *LPCREATEERRORINFO;
57
58 + extern "C" const IID IID_ITypeLib;
59 + extern "C" const IID IID_ICreateTypeInfo;
60 + extern "C" const IID IID_ICreateTypeInfo2;
61 + extern "C" const IID IID_ICreateTypeLib;
62 + extern "C" const IID IID_ICreateTypeLib2;
63 + extern "C" const IID IID_ITypeInfo;
64 + extern "C" const IID IID_IErrorInfo;
65 + extern "C" const IID IID_IDispatch;
66 + extern "C" const IID IID_ICreateErrorInfo;
67 +
68 typedef enum tagSYSKIND {
69 SYS_WIN16,SYS_WIN32,SYS_MAC
70 } SYSKIND;
71 ***************
72 *** 375,382 ****
73 STDMETHOD_(ULONG,Release)(THIS) PURE;
74 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
75 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
76 ! STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID)
77 PURE;
78 ! STDMETHOD(Invoked)(THIS_
79 DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
80 };
81
82 #ifdef __cplusplus
83 --- 394,401 ----
84 STDMETHOD_(ULONG,Release)(THIS) PURE;
85 STDMETHOD(GetTypeInfoCount)(THIS_ UINT*) PURE;
86 STDMETHOD(GetTypeInfo)(THIS_ UINT,LCID,LPTYPEINFO*) PURE;
87 ! STDMETHOD(GetIDsOfNames)(THIS_ REFIID,LPOLESTR*,UINT,LCID,DISPID*)
88 PURE;
89 ! STDMETHOD(Invoke)(THIS_
90 DISPID,REFIID,LCID,WORD,DISPPARAMS*,VARIANT*,EXCEPINFO*,UINT*) PURE;
91 };
92
93 #ifdef __cplusplus
94
95
96 *** \gcc-inc\objidl.h Sat Jul 31 16:48:42 1999
97 --- objidl.h Fri Aug 06 11:00:19 1999
98 ***************
99 *** 627,633 ****
100 STDMETHOD(QueryGetData)(THIS_ FORMATETC*) PURE;
101 STDMETHOD(GetCanonicalFormatEtc)(THIS_ FORMATETC*,FORMATETC*) PURE;
102 STDMETHOD(SetData)(THIS_ FORMATETC*,STGMEDIUM*,BOOL) PURE;
103 ! STDMETHOD(EnumFormatEtc)(THIS_ DWORD,IEnumFORMATETC*) PURE;
104 STDMETHOD(DAdvise)(THIS_ FORMATETC*,DWORD,IAdviseSink*,PDWORD) PURE;
105 STDMETHOD(DUnadvise)(THIS_ DWORD) PURE;
106 STDMETHOD(EnumDAdvise)(THIS_ IEnumSTATDATA**);
107 --- 627,633 ----
108 STDMETHOD(QueryGetData)(THIS_ FORMATETC*) PURE;
109 STDMETHOD(GetCanonicalFormatEtc)(THIS_ FORMATETC*,FORMATETC*) PURE;
110 STDMETHOD(SetData)(THIS_ FORMATETC*,STGMEDIUM*,BOOL) PURE;
111 ! STDMETHOD(EnumFormatEtc)(THIS_ DWORD,IEnumFORMATETC**) PURE;
112 STDMETHOD(DAdvise)(THIS_ FORMATETC*,DWORD,IAdviseSink*,PDWORD) PURE;
113 STDMETHOD(DUnadvise)(THIS_ DWORD) PURE;
114 STDMETHOD(EnumDAdvise)(THIS_ IEnumSTATDATA**);
115
116
117
118