diff options
author | alperevyshin <alperevyshin@yandex-team.com> | 2023-05-05 00:37:30 +0300 |
---|---|---|
committer | alperevyshin <alperevyshin@yandex-team.com> | 2023-05-05 00:37:30 +0300 |
commit | 061d36543c8db98aef8bfabb6f1914f2a52eefb7 (patch) | |
tree | f05886df70c9d6d4223090bee1a9febd967624ba /contrib | |
parent | b9c7f31e3e9529babeec5bdc94f9b5405f0bfd74 (diff) | |
download | ydb-061d36543c8db98aef8bfabb6f1914f2a52eefb7.tar.gz |
Mark import of undefined macros as error. Contribs under yamaker, pt. 1
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/libs/flatbuffers/include/flatbuffers/base.h | 2 | ||||
-rw-r--r-- | contrib/restricted/boost/intrusive/include/boost/intrusive/detail/assert.hpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libs/flatbuffers/include/flatbuffers/base.h b/contrib/libs/flatbuffers/include/flatbuffers/base.h index e2defddb80..df6eea87df 100644 --- a/contrib/libs/flatbuffers/include/flatbuffers/base.h +++ b/contrib/libs/flatbuffers/include/flatbuffers/base.h @@ -21,7 +21,7 @@ #define FLATBUFFERS_ASSERT assert #elif defined(FLATBUFFERS_ASSERT_INCLUDE) // Include file with forward declaration -#include FLATBUFFERS_ASSERT_INCLUDE +#error #include FLATBUFFERS_ASSERT_INCLUDE #endif #ifndef ARDUINO diff --git a/contrib/restricted/boost/intrusive/include/boost/intrusive/detail/assert.hpp b/contrib/restricted/boost/intrusive/include/boost/intrusive/detail/assert.hpp index 7199eb240c..e82d46f700 100644 --- a/contrib/restricted/boost/intrusive/include/boost/intrusive/detail/assert.hpp +++ b/contrib/restricted/boost/intrusive/include/boost/intrusive/detail/assert.hpp @@ -25,21 +25,21 @@ #include <boost/assert.hpp> #define BOOST_INTRUSIVE_INVARIANT_ASSERT BOOST_ASSERT #elif defined(BOOST_INTRUSIVE_INVARIANT_ASSERT_INCLUDE) - #include BOOST_INTRUSIVE_INVARIANT_ASSERT_INCLUDE + #error #include BOOST_INTRUSIVE_INVARIANT_ASSERT_INCLUDE #endif #if !defined(BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT) #include <boost/assert.hpp> #define BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT BOOST_ASSERT #elif defined(BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT_INCLUDE) - #include BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT_INCLUDE + #error #include BOOST_INTRUSIVE_SAFE_HOOK_DEFAULT_ASSERT_INCLUDE #endif #if !defined(BOOST_INTRUSIVE_SAFE_HOOK_DESTRUCTOR_ASSERT) #include <boost/assert.hpp> #define BOOST_INTRUSIVE_SAFE_HOOK_DESTRUCTOR_ASSERT BOOST_ASSERT #elif defined(BOOST_INTRUSIVE_SAFE_HOOK_DESTRUCTOR_ASSERT_INCLUDE) - #include BOOST_INTRUSIVE_SAFE_HOOK_DESTRUCTOR_ASSERT_INCLUDE + #error #include BOOST_INTRUSIVE_SAFE_HOOK_DESTRUCTOR_ASSERT_INCLUDE #endif #endif //BOOST_INTRUSIVE_DETAIL_ASSERT_HPP |