Opened 10 years ago
Last modified 9 years ago
#7729 assigned Bugs
concept_def.hpp multiple inclusion prevention macro bug
Reported by: | Owned by: | acharles | |
---|---|---|---|
Milestone: | Boost 1.56.0 | Component: | graph |
Version: | Boost 1.52.0 | Severity: | Problem |
Keywords: | warnings, concept | Cc: |
Description
In boost/concept/detail/concept_def.hpp, the BOOST_CONCEPT_DETAIL_CONCEPT_DEF_DWA200651_HPP macro does not apply to the whole include file (search for its pending endif).
As a consequence, the following warning appearing e.g. when including boost/graph/adjacency_list.hpp:
"BOOST_concept" redefined [...]
Change History (5)
comment:1 by , 10 years ago
Component: | None → concept_check |
---|---|
Owner: | set to |
comment:2 by , 9 years ago
Component: | concept_check → graph |
---|---|
Owner: | changed from | to
comment:3 by , 9 years ago
Related pull requests:
https://github.com/boostorg/graph/pull/2 https://github.com/boostorg/icl/pull/1
comment:4 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 9 years ago
Milestone: | To Be Determined → Boost 1.56.0 |
---|
Note:
See TracTickets
for help on using tickets.
The bug is that concept_def.hpp and concept_undef.hpp are supposed to be matched and they are not matched in boost/graph/buffer_concepts.hpp.