boostorg / exception

Boost.org exception module
http://boost.org/libs/exception
Boost Software License 1.0
15 stars 46 forks source link

Avoid class/struct mismatch in forward declaration and implementation #7

Closed jhunold closed 5 years ago

jhunold commented 7 years ago

set_info_rv is forwarded as "struct set_info_rv..." in exception.hpp and was implemented as "class set_info_rv...". This causes warnings in msvc and clang with -Weverything at least.

eldruin commented 7 years ago

The fix in commit e1378f7aef652e8c88edf5986bad6b6c645bfe2e is not enough. The further changes from this PR are necessary at least on MSVC12.