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 August 6, 2003 01:14 am, Dan Kegel wrote:
> I looked at
> http://cvs.winehq.com/cvsweb/wine/tools/winegcc.c?rev=1.16
> and see you don't have
>
> #define selectany weak

That's right, it doesn't.

> Think winegcc should do -Dselectany=weak?

I don't know -- it's easy enough to add, but it's also
quite dangerous it seems. It would seem that a gcc
patch to teach it to recognize selectany as an attribute
is the way to go. I think people that need selectany to
work should explicitly define it, so they are aware of
the potential problems, no?

-- 
Dimi.


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