Opened 5 years ago
Last modified 4 years ago
#13211 closed Bugs
BOOST_MAY_ALIAS is not always defined and is not documented — at Version 1
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
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.