Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <199906072205.RAA03796@mercury.xraylith.wisc.edu> To: JSONCRAIG AT aol DOT com cc: cygwin AT sourceware DOT cygnus DOT com Subject: Re: COM problem In-Reply-To: Your message of "Mon, 07 Jun 1999 18:26:54 EDT." <69153b1e DOT 248da12e AT aol DOT com> Date: Mon, 07 Jun 1999 17:05:41 -0500 From: Mumit Khan JSONCRAIG AT aol DOT com writes: > I am trying to compile a COM program and I get the following message when I > am compiling: > > "In file included from > C:\\EGCS\\BIN\\..\\lib\\gcc-lib\\i386-mingw32\\egcs-2.91.66\\..\\..\\..\\..\\ > i > 386-mingw32\\include\\objbase.h:49, from JasCmpnt.cpp:2: > C:\\EGCS\\BIN\\..\\lib\\gcc-lib\\i386-mingw32\\egcs-2.91.66\\..\\..\\..\\..\\ > i > 386-mingw32\\include\\unknwn.h:23: warning: `comobject' attribute directive > ignore > d" > > which is then repeated multiple times...the program then links and it appears > > to work fine but I'm not sure if it is working fine. Is there a rememdy and > if so what? > > I am using the Mingw32 egcs-1.1.2 release, with w32api-0.1.5 by Anders > Norlander installed. Thanks in advance for the help. > The comobject patch is not integrated in egcs-1.1.2, but I'm hoping it'll be in the next release (gcc-2.95). Jason Merrill, co-maintainer of the C++ front-end, has checked in some of the comobject patches, so most of the needed stuff is already there. There will still be problems however. To use the comobject, you'll need to specify -fvtable-thunks, and that means all the libraries linked against it will also need to be compiled with -fvtable-thunks. I haven't had any time recently to work on egcs/cygwin/mingw etc, but I'll start taking a look hopefully next week when my schedule becomes a bit more managable. Regards, Mumit -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com