aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost/assert/include
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2024-08-20 11:40:49 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2024-08-20 12:23:58 +0300
commitf24ca00f1401d08ed1beced3a93b3985d806dcef (patch)
treeab2ab5b269d7ee2db8ee8f5cc634a2379dccdb5d /contrib/restricted/boost/assert/include
parent7081f7fd671773554680049b1c59213891e08eeb (diff)
downloadydb-f24ca00f1401d08ed1beced3a93b3985d806dcef.tar.gz
Update contrib/restricted/boost/assert to 1.86.0
2e37a39c10bebc34441ebd2c99a27d4cae188a3c
Diffstat (limited to 'contrib/restricted/boost/assert/include')
-rw-r--r--contrib/restricted/boost/assert/include/boost/assert/source_location.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/restricted/boost/assert/include/boost/assert/source_location.hpp b/contrib/restricted/boost/assert/include/boost/assert/source_location.hpp
index c4d5f1b173..c6eae32515 100644
--- a/contrib/restricted/boost/assert/include/boost/assert/source_location.hpp
+++ b/contrib/restricted/boost/assert/include/boost/assert/source_location.hpp
@@ -174,9 +174,12 @@ template<class E, class T> std::basic_ostream<E, T> & operator<<( std::basic_ost
# define BOOST_CURRENT_LOCATION ::boost::source_location(__builtin_FILE(), __builtin_LINE(), __builtin_FUNCTION(), __builtin_COLUMN())
-#elif defined(BOOST_GCC) && BOOST_GCC >= 70000
+#elif defined(BOOST_GCC) && BOOST_GCC >= 80000
// The built-ins are available in 4.8+, but are not constant expressions until 7
+// In addition, reproducible builds require -ffile-prefix-map, which is GCC 8
+// https://github.com/boostorg/assert/issues/38
+
# define BOOST_CURRENT_LOCATION ::boost::source_location(__builtin_FILE(), __builtin_LINE(), __builtin_FUNCTION())
#elif defined(BOOST_GCC) && BOOST_GCC >= 50000