This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: COM problem


JSONCRAIG@aol.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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]