]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/multi_index/detail/ignore_wstrict_aliasing.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / boost / multi_index / detail / ignore_wstrict_aliasing.hpp
1 /* Copyright 2003-2016 Joaquin M Lopez Munoz.
2 * Distributed under the Boost Software License, Version 1.0.
3 * (See accompanying file LICENSE_1_0.txt or copy at
4 * http://www.boost.org/LICENSE_1_0.txt)
5 *
6 * See http://www.boost.org/libs/multi_index for library home page.
7 */
8
9 #include <boost/config.hpp>
10
11 #if defined(BOOST_GCC)&&(BOOST_GCC>=4*10000+6*100)
12 #if !defined(BOOST_MULTI_INDEX_DETAIL_RESTORE_WSTRICT_ALIASING)
13 #pragma GCC diagnostic push
14 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
15 #else
16 #pragma GCC diagnostic pop
17 #endif
18 #endif