boostorg / property_tree

Boost.org property_tree module
http://boost.org/libs/property_tree
55 stars 92 forks source link

BOOST_OVERRIDE is unknown override specifier #82

Closed mloskot closed 3 years ago

mloskot commented 3 years ago

/cc @madmongo1

Minimal Working Example

https://godbolt.org/z/x4zx388h6

#include <boost/property_tree/detail/rapidxml.hpp>
int main() {}

Use latest Boost 1.76 and compile with any compiler of your choice. I can not reproduce the problem with Boost 1.75.

Compilation Error

error C3646: 'BOOST_OVERRIDE': unknown override specifier

References

It looks like PR #53 from @EugeneZelenko introduced this bug - likely, missing #include <boost/config.hpp>. There seem to be no related test case to check headers are self-contained.