Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6412: Use attribute names with underscores for GCC
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-20 16:33:59
#6412: Use attribute names with underscores for GCC
-------------------------------------------------+--------------------------
Reporter: Petr Machata <pmachata@â¦> | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------+--------------------------
Comment (by Petr Machata <pmachata@â¦>):
Because #defining noinline in user code is legitimate, but #defining
__noinline__ is not, because such names are reserved. So it should be
less likely that attributes with underscores interact with user code.
The documentation curiously doesn't mention this. But it's used by system
headers as well as boost in a couple places. I tried it as far back as
3.3 (the oldest that I have around), and it seems well supported.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6412#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC