This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: __declspec(selectany)


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.


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