Opened 13 years ago
Closed 13 years ago
#3903 closed Patches (invalid)
Duplicate include in asio/error.hpp
| Reported by: | Owned by: | chris_kohlhoff | |
|---|---|---|---|
| Milestone: | Boost 1.43.0 | Component: | asio |
| Version: | Boost Development Trunk | Severity: | Cosmetic |
| Keywords: | Cc: |
Description
boost/asio/detail/push_options.hpp is included twice
Attachments (1)
Change History (2)
by , 13 years ago
| Attachment: | error.patch added |
|---|
comment:1 by , 13 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

The include is correct. The push_options.hpp and pop_options.hpp headers are used in matched pairs. In this case, one pair for the whole file, and one for the non-asio headers.
The reason for wrapping the non-asio headers is now mostly historical I think. Some headers supplied by Borland compilers would change alignment options and not restore them.