From: Luke D. <cod...@ho...> - 2002-06-11 04:19:26
|
Apparently this attribute was not documented yet in GCC version 2.95.3, so a quick Google search reveals: http://www.la.utexas.edu/lab/software/devtool/gnu/gcc/gcc_121.html Apparently this page refers to GCC version 2.97 (?), which was probably not an official release, but it should be okay. If this documentation is not enough then read some of the other pages that Google finds. Luke ----- Original Message ----- From: "lian" <tr...@si...> To: "mingw" <min...@li...> Sent: Tuesday, June 11, 2002 11:40 AM Subject: [Mingw-users] where is the document of "__attribute__((com_interface))" > hi, Dunstan > Thanks very much, for your good idea. > well, where can I get the document of "__attribute__((com_interface))"? > I had searched it in Info-html/gcc.html, but got nothing. > > Regards, > lian > > --- Original Message from Luke Dunstan --- > > Message: 8 > From: "Luke Dunstan" <cod...@ho...> > To: "lian" <tr...@si...>, > <min...@li...> > Subject: Re: [Mingw-users] about vtable implement (2) > Date: Mon, 10 Jun 2002 17:28:11 +0800 > > > I haven't done any COM programming so I am basically guessing, but if you > look in Mingw basetyps.h you will see some macros like DECLARE_INTERFACE() > that are used to declare standard interfaces like IUnknown. The important > part is that it uses "__attribute__((com_interface))", so you should try > that and see what happens. You could also try GCC 3.1, because according to > the header file you don't need the special attribute for newer versions of > GCC, and you also don't need -fvtable-thunks. > > Luke Dunstan > > --__--__-- > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options or unsubscribe at: > https://lists.sourceforge.net/lists/listinfo/mingw-users > |