This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Can anybody help?
- From: Griffiths Antony W711 <antony dot griffiths at siemens dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Tue, 4 Dec 2001 13:57:42 +0100
- Subject: Can anybody help?
I've the following problem:
An application, which I'm developing (C++) under cygwin requires the
header-file <w32api/ole2.h>.
During compilation, "gcc" outputs the following error-massages and warnings:
'com-interface' only supported with -fvtable-thunks.
Warning: 'com-interface' attribute directive ignored.
These messages occur for most of the header-files included by
<w32api/ole2.h> and the compilation exits with error.
An example of the offending code:
header-file unknwn.h: 23 (andf before)
DECLARE_INTERFACE(IUnknown)
{
STDMETHOD(QueryInterface)(THIS_ REFIID, PVOID *)
PURE;
STDMETHOD(ULONG, AddReff)(THIS) PURE;
STDMETHOD(ULONG, Release)(THIS) PURE;
};
-> I'm not sure what -fvtable-thunks means.
At any rate I can't find an option for gcc (version: 2.95.3-5)
with this name.
I would be most appreciative, if anybody could help me with this problem?
all the best
Tony Griffiths.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/