aboutsummaryrefslogtreecommitdiffstats
path: root/build/sysincl
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2023-06-20 20:19:46 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2023-06-20 20:19:46 +0300
commitf7aff0694a4c5e8a438fd8adfe0f0b7f2fc9c202 (patch)
tree3b4e3635e45776df0cd05a1932c5875fc44eb948 /build/sysincl
parentb3247c609027ea43f632f17cba11028e9a24cf1d (diff)
downloadydb-f7aff0694a4c5e8a438fd8adfe0f0b7f2fc9c202.tar.gz
Intermediate changes
Diffstat (limited to 'build/sysincl')
-rw-r--r--build/sysincl/macro.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/sysincl/macro.yml b/build/sysincl/macro.yml
index e61f4565bb..075ede4f1c 100644
--- a/build/sysincl/macro.yml
+++ b/build/sysincl/macro.yml
@@ -587,6 +587,14 @@
includes:
- BOOST_PHOENIX_UNORDERED_MAP_HEADER: $U/unordered_map
- BOOST_PHOENIX_UNORDERED_SET_HEADER: $U/unordered_set
+ # boost/phoenix preprocessor magic works as follows
+ # 1. Each file defines BOOST_PHOENIX_ITERATION_PARAMS as a tuple whose last element contains current file name (checked on version 1.82).
+ # 2. It includes then BOOST_PHOENIX_ITERATE() which is simplify defined to <boost/phoenix/support/detail/iterate.hpp>.
+ # 3. The latter sets BOOST_PP_ITERATION_PARAMS from BOOST_PHOENIX_ITERATION_PARAMS and calls BOOST_PP_ITERATE() macro.
+ #
+ # Hence #include BOOST_PHOENIX_ITERATION_FILE will always result in including the file already seen ymake.
+ # This is equivalent to resolving this macro include into nothing.
+ - BOOST_PHOENIX_ITERATION_FILE()
- BOOST_PHOENIX_ITERATE(): contrib/restricted/boost/phoenix/include/boost/phoenix/support/detail/iterate.hpp
- BOOST_PP_ITERATE(): contrib/restricted/boost/phoenix/include/boost/phoenix/support/detail/iterate.hpp