Boost C++ Libraries: Ticket #13211: BOOST_MAY_ALIAS is not always defined and is not documented https://svn.boost.org/trac10/ticket/13211 <p> The issue comes from the fact that BOOST_MAY_ALIAS is not always defined. E.g. </p> <pre class="wiki">// Type aliasing hint. #if __has_attribute(__may_alias__) # define BOOST_MAY_ALIAS __attribute__((__may_alias__)) #endif </pre><p> Wondering if this shouldn't be </p> <pre class="wiki">// Type aliasing hint. #if __has_attribute(__may_alias__) # define BOOST_MAY_ALIAS __attribute__((__may_alias__)) #else # define BOOST_MAY_ALIAS #endif </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13211 Trac 1.4.3 viboes Thu, 14 Sep 2017 17:30:07 GMT description changed https://svn.boost.org/trac10/ticket/13211#comment:1 https://svn.boost.org/trac10/ticket/13211#comment:1 <ul> <li><strong>description</strong> modified (<a href="/trac10/ticket/13211?action=diff&amp;version=1">diff</a>) </li> </ul> <p> Humm, I see that we have already this is suffix.hpp </p> <pre class="wiki">#if !defined(BOOST_MAY_ALIAS) # define BOOST_NO_MAY_ALIAS # define BOOST_MAY_ALIAS #endif </pre><p> So, BOOST_MAY_ALIAS is always defined. </p> Ticket John Maddock Tue, 31 Jul 2018 18:47:49 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/13211#comment:2 https://svn.boost.org/trac10/ticket/13211#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> Ticket