Changes between Initial Version and Version 1 of Ticket #13211


Ignore:
Timestamp:
Sep 14, 2017, 5:30:07 PM (5 years ago)
Author:
viboes
Comment:

Humm, I see that we have already this is suffix.hpp

#if !defined(BOOST_MAY_ALIAS)
#  define BOOST_NO_MAY_ALIAS
#  define BOOST_MAY_ALIAS
#endif

So, BOOST_MAY_ALIAS is always defined.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13211 – Description

    initial v1  
    11The issue comes from the fact that BOOST_MAY_ALIAS is not always defined. E.g.
    22
    3 ```
     3
     4
     5{{{
    46// Type aliasing hint.
    57#if __has_attribute(__may_alias__)
    68#  define BOOST_MAY_ALIAS __attribute__((__may_alias__))
    79#endif
    8 ```
     10
     11}}}
    912
    1013Wondering if  this shouldn't be
    1114
    12 ```
     15
     16
     17{{{
    1318// Type aliasing hint.
    1419#if __has_attribute(__may_alias__)
     
    1722#  define BOOST_MAY_ALIAS
    1823#endif
    19 ```
     24}}}
    2025
    2126
     27