]> git.pld-linux.org Git - packages/boost.git/blame - boost-fallthrough.patch
up to 1.81.0
[packages/boost.git] / boost-fallthrough.patch
CommitLineData
937de54d
JB
1`fallthrough` may be redefined (as in OpenZFS's spl), so use `__fallthrough`
2
3--- boost_1_79_0/boost/config/compiler/gcc.hpp.orig 2022-06-04 19:46:23.536373946 +0200
4+++ boost_1_79_0/boost/config/compiler/gcc.hpp 2022-06-08 17:18:20.938885867 +0200
5@@ -320,7 +320,7 @@
6 #endif
7
8 #if __GNUC__ >= 7
9-# define BOOST_FALLTHROUGH __attribute__((fallthrough))
10+# define BOOST_FALLTHROUGH __attribute__((__fallthrough__))
11 #endif
12
13 #if (__GNUC__ < 11) && defined(__MINGW32__) && !defined(__MINGW64__)
This page took 0.1338 seconds and 4 git commands to generate.