Apparently this attribute was not documented yet in GCC version 2.95.3, so a
quick Google search reveals:
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.
----- Original Message -----
From: "lian" <tru1@...>
To: "mingw" <mingw-users@...>
Sent: Tuesday, June 11, 2002 11:40 AM
Subject: [Mingw-users] where is the document of
> 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.
> --- Original Message from Luke Dunstan ---
> Message: 8
> From: "Luke Dunstan" <coder_infidel@...>
> To: "lian" <tru1@...>,
> 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
> 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 -
> MinGW-users mailing list
> You may change your MinGW Account Options or unsubscribe at: