Opened 5 years ago
Closed 4 years ago
#13211 closed Bugs (invalid)
BOOST_MAY_ALIAS is not always defined and is not documented
| Reported by: | viboes | Owned by: | John Maddock | 
|---|---|---|---|
| Milestone: | To Be Determined | Component: | config | 
| Version: | Boost 1.65.0 | Severity: | Problem | 
| Keywords: | Cc: | 
Description (last modified by )
The issue comes from the fact that BOOST_MAY_ALIAS is not always defined. E.g.
// Type aliasing hint. #if __has_attribute(__may_alias__) # define BOOST_MAY_ALIAS __attribute__((__may_alias__)) #endif
Wondering if this shouldn't be
// Type aliasing hint. #if __has_attribute(__may_alias__) # define BOOST_MAY_ALIAS __attribute__((__may_alias__)) #else # define BOOST_MAY_ALIAS #endif
Change History (2)
comment:1 by , 5 years ago
| Description: | modified (diff) | 
|---|
comment:2 by , 4 years ago
| Resolution: | → invalid | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    

Humm, I see that we have already this is suffix.hpp
So, BOOST_MAY_ALIAS is always defined.