Opened 5 years ago
Last modified 4 years ago
#13211 closed Bugs
BOOST_MAY_ALIAS is not always defined and is not documented — at Initial Version
Reported by: | viboes | Owned by: | John Maddock |
---|---|---|---|
Milestone: | To Be Determined | Component: | config |
Version: | Boost 1.65.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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.