aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/regex
diff options
context:
space:
mode:
authoralperevyshin <alperevyshin@yandex-team.com>2023-05-08 16:47:06 +0300
committeralperevyshin <alperevyshin@yandex-team.com>2023-05-08 16:47:06 +0300
commit8107c88ce7480dfc685a7227eb3b44c9e9f666b1 (patch)
treeeb60d3ae57e1954bf910fa5291ec4f6b58a90352 /contrib/restricted/boost/regex
parent12a3e9b5a765cf68340fa6286661deec892ce3a9 (diff)
downloadydb-8107c88ce7480dfc685a7227eb3b44c9e9f666b1.tar.gz
Mark import of unused macros as error. Contribs under yamaker, pt. 1
При обычной сборке буста эти макросы не должны инклудится даже с учетом того, что они задефайнены на какие-то существующие пути. Подробнее для макроса `PP*` — [в комментарии](https://arcanum.yandex-team.ru/arcadia/contrib/restricted/boost/type_traits/include/boost/type_traits/detail/is_function_ptr_helper.hpp?#L20) перед этими инклудами: > Hide these #include from dependency analysers as > these are required in maintenance mode only Подробнее для макроса `BOOST_REGEX_H*` [в комментарии](https://arcanum.yandex-team.ru/arcadia/contrib/restricted/boost/regex/include/boost/regex/pending/static_mutex.hpp?#L125) перед этими инклудами: > Since this preprocessor path is almost never taken, we hide these header > dependencies so that build tools don't find them.
Diffstat (limited to 'contrib/restricted/boost/regex')
-rw-r--r--contrib/restricted/boost/regex/include/boost/regex/pending/static_mutex.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/restricted/boost/regex/include/boost/regex/pending/static_mutex.hpp b/contrib/restricted/boost/regex/include/boost/regex/pending/static_mutex.hpp
index 344926f6ab..953a037a09 100644
--- a/contrib/restricted/boost/regex/include/boost/regex/pending/static_mutex.hpp
+++ b/contrib/restricted/boost/regex/include/boost/regex/pending/static_mutex.hpp
@@ -128,9 +128,9 @@ private:
#define BOOST_REGEX_H1 <boost/thread/once.hpp>
#define BOOST_REGEX_H2 <boost/thread/recursive_mutex.hpp>
#define BOOST_REGEX_H3 <boost/thread/lock_types.hpp>
-#include BOOST_REGEX_H1
-#include BOOST_REGEX_H2
-#include BOOST_REGEX_H3
+#error #include BOOST_REGEX_H1
+#error #include BOOST_REGEX_H2
+#error #include BOOST_REGEX_H3
#undef BOOST_REGEX_H1
#undef BOOST_REGEX_H2
#undef BOOST_REGEX_H3