__declspec(selectany)

Dimitrie O. Paun dpaun at rogers.com
Wed Aug 6 00:03:33 CDT 2003


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.




More information about the wine-devel mailing list