During a build process (unit tests) there are a bunch of errors like:
"error: no member named 'xxx' in the global namespace
using::xxx;" ('xxx' is a type, e.g. uint8_t).
DETAILS:
- in case if I include only <boost/test/unit_test.hpp>, the source of error is in the file /Library/Developer/CommandLineTools/usr/include/c++/v1/cstdint
- in case if I include <boost/cstdint.hpp> before , the source of error is in the file /usr/local/include/boost/cstdint.hpp
ENVIRONMENT:
- macOS Mojave
- compiler: clang
- CXX_STANDARD: 11 / 14
- boost v.1.67.0_1 (installed using homebrew to default location - usr/local/Cellar/)
UPD: The same issue (with cstdint) happens with using Google Test (1.8.1)