Opened 7 years ago
#11237 new Bugs
Cannot include iostreams/filter/test.hpp in two compilation units
| Reported by: | Owned by: | Jonathan Turkanis | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | iostreams |
| Version: | Boost 1.57.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
The function "boost::iostreams::rand(int)" is multiply defined if you include test.hpp in two separate compilation units. This function should probably just be marked as inlined.
Attachments (1)
Note:
See TracTickets
for help on using tickets.

Inline the rand function so it doesn't get defined multiple times