[cfe-dev] Template attributes lose their inherited flag on instantiations

Nico Rieck nico.rieck at gmail.com
Tue Apr 16 08:54:03 PDT 2013


On 16.04.2013 17:15, Rafael EspĂ­ndola wrote:
> Sorry, what is the syntax. I am trying
>
> class __attribute__((dllexport)) foo {
> };
>
> and I get
>
> warning: 'dllexport' attribute only applies to variables and functions

Ah, my bad. The syntax is indeed correct, but isn't actually implemented 
yet. I started off with an older patch, that's why I didn't remember 
writing it.

-Nico



More information about the cfe-dev mailing list