Opened 9 years ago
Closed 7 years ago
#9085 closed Bugs (fixed)
Duplication of BOOST_STRONG_TYPEDEF in "boost/strong_typedef.hpp" "boost/serialization/strong_typedef.hpp" leads to compile error
Reported by: | Owned by: | Robert Ramey | |
---|---|---|---|
Milestone: | To Be Determined | Component: | serialization |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | Cc: |
Description
If a file (indirectly) includes the two header files, the compilation fails. For example one cannot include "boost/strong_typedef.hpp" and "boost/graph/adjacency_list.hpp" in one file.
An appropriate solution would be to place a forwarding include in one of the headers directing to the other.
Attachments (1)
Change History (4)
by , 9 years ago
Attachment: | strong_typedef.hpp.patch added |
---|
comment:1 by , 9 years ago
Component: | None → serialization |
---|---|
Owner: | set to |
comment:2 by , 9 years ago
actually, boost/strong_typedef.hpp should be removed since it was only in there for backwards compatibility. I'll get to that soon.
Robert Ramey
comment:3 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
boost/strong_typedef.hpp has now been removed
Note:
See TracTickets
for help on using tickets.
a possible solution