| 1 | // Copyright (c) 2016-2024 Antony Polukhin |
| 2 | // Copyright (c) 2022 Denis Mikhailov |
| 3 | // |
| 4 | // Distributed under the Boost Software License, Version 1.0. (See accompanying |
| 5 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 6 | |
| 7 | #ifndef BOOST_PFR_DETAIL_CONFIG_HPP |
| 8 | #define BOOST_PFR_DETAIL_CONFIG_HPP |
| 9 | #pragma once |
| 10 | |
| 11 | #include <boost/pfr/config.hpp> |
| 12 | |
| 13 | #if !BOOST_PFR_ENABLED |
| 14 | |
| 15 | #error Boost.PFR library is not supported in your environment. \ |
| 16 | Try one of the possible solutions: \ |
| 17 | 1. try to take away an '-DBOOST_PFR_ENABLED=0', if it exists \ |
| 18 | 2. enable C++14; \ |
| 19 | 3. enable C++17; \ |
| 20 | 4. update your compiler; \ |
| 21 | or disable this error by '-DBOOST_PFR_ENABLED=1' if you really know what are you doing. |
| 22 | |
| 23 | #endif // !BOOST_PFR_ENABLED |
| 24 | |
| 25 | #endif // BOOST_PFR_DETAIL_CONFIG_HPP |
| 26 | |
| 27 | |