delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/12/04/07:59:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Envelope-Sender-Is: antony DOT griffiths AT siemens DOT com (at relayer gecko.sbs.de)
Message-ID: <75D1D32377C0D411A1380800062B1508570243@erls1eda.kwu.erl.siemens.de>
From: Griffiths Antony W711 <antony DOT griffiths AT siemens DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Can anybody help?
Date: Tue, 4 Dec 2001 13:57:42 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019