Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: "'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) Content-Type: text/plain; charset="iso-8859-1" I've the following problem: An application, which I'm developing (C++) under cygwin requires the header-file . 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 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/