Opened 12 years ago
Closed 12 years ago
#5110 closed Bugs (invalid)
address_v6 to_string on windows XP throws exception
Reported by: | Owned by: | chris_kohlhoff | |
---|---|---|---|
Milestone: | To Be Determined | Component: | asio |
Version: | Boost 1.45.0 | Severity: | Problem |
Keywords: | Cc: |
Description
I have the following piece of code:
unsigned char a[16] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17}; boost::array<unsigned char, 16> data; for (int i = 0; i < 16; ++i) {
data[i] = a[i];
} boost::asio::ip::address_v6 b(data); b.to_string();
This works on all platforms I have tried it on (Linux, OS X, Windows 7), except on Windows XP. On XP, it throws the following exception:
boost::exception_detail::clone_impl<struct boost::exception_detail::error_info_injector<class boost::system::system_error> > An invalid argument was supplied
Change History (2)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Sorry about this report, you can close this ticket. It seems Windows XP doesn't come with IPv6 enabled by default; enabling it solves my problem.