Opened 7 years ago
Last modified 7 years ago
#11539 new Bugs
VS2015 warning: macro redefinition
Reported by: | anonymous | Owned by: | chris_kohlhoff |
---|---|---|---|
Milestone: | To Be Determined | Component: | asio |
Version: | Boost 1.59.0 | Severity: | Problem |
Keywords: | warning, vs2015 | Cc: |
Description
boost/asio/detail/config.hpp(227): warning C4005: 'BOOST_ASIO_ERROR_CATEGORY_NOEXCEPT': macro redefinition boost/asio/detail/config.hpp(213): note: see previous definition of 'BOOST_ASIO_ERROR_CATEGORY_NOEXCEPT'
Change History (3)
follow-up: 2 comment:1 by , 7 years ago
comment:2 by , 7 years ago
Replying to mikael.olenfalk@…:
Here is a pull request which fixes the issue:
The fix works as advertised.
comment:3 by , 7 years ago
because BOOST_ASIO_ERROR_CATEGORY_NOEXCEPT redefine,so add undef # undef BOOST_ASIO_ERROR_CATEGORY_NOEXCEPT
Note:
See TracTickets
for help on using tickets.
Here is a pull request which fixes the issue:
https://github.com/boostorg/asio/pull/22