This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: __declspec(selectany)
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- To: Dan Kegel <dank at kegel dot com>
- Cc: boaz at hishome dot net, wine-devel at winehq dot com, GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Wed, 6 Aug 2003 13:26:10 +1000
- Subject: Re: __declspec(selectany)
- References: <3F302784.80903@kegel.com>
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.