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 6 Aug 2003, Ove Kaaven wrote:

> You can try
> 
> #define __declspec_selectany __attribute__((weak))
> #define __declspec_whatever __attribute__((whatever))
> #define __declspec(x) __declspec_##x

Brilliant, thank you!

-- 
Dimi.


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