__declspec(selectany)

Fergus Henderson fjh@cs.mu.OZ.AU
Wed Aug 6 04:40:00 GMT 2003


On 05-Aug-2003, Dan Kegel <dank@kegel.com> wrote:
> Part of the solution might be to apply the following patch to the
> gcc-3.3 source tree:

Rather than patching gcc, an easier solution would be to put the
corresponding #defines for _cdecl etc. in a header file called say
"ms_extensions.h", and then compile with "gcc -include ms_extensions.h ..."
so that these #defines get automatically included in every compilation unit.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.



More information about the Gcc mailing list