On Tue, Apr 24, 2012 at 10:39 AM, Richard Smith <rich...@metafoo.co.uk>wrote:

> On Tue, Apr 24, 2012 at 9:37 AM, Jordy Rose <jedik...@belkadan.com> wrote:
>
>> And again I think the fixit (and perhaps the message) should use GCC
>> __attribute__ syntax if we're not in C++11 mode.
>
>
> GNU attributes can't be attached to statements. Do we want to diverge from
> the GNU attribute spec (such as it is) for this? (I'm not saying no -- I
> think having this outside C++11 would be awesome -- but this gives me
> pause).
>

Personally, I have no particular motivation to expose this outside of
C++11. Yet another reason to migrate to C++11. ;]

If we're going to do it, I would do it by making C++11 attributes (or some
subset) available as an extension in C++98 mode.
_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to