2 Global configuration file.
4 Only for settings that apply to every source file and are unlikely to change often,
5 such as whether a certain C++11 feature is available.
7 Do NOT use for settings local to some code or for settings that can change often.
8 Any change in this header will cause a rebuild of almost everything.
12 #ifndef CONFIG_GLOBAL_H
13 #define CONFIG_GLOBAL_H
15 #define HAVE_GCC_BUILTIN_ATOMIC 0
16 #define HAVE_GCC_BUILTIN_FFS 0
18 #define HAVE_GCC_PRAGMA_OPERATOR 0
19 #define HAVE_GCC_DEPRECATED_MESSAGE 0
20 #define HAVE_SYSLOG_H 0
21 /* Compiler supports __attribute__((warn_unused)). */
22 #define HAVE_GCC_ATTRIBUTE_WARN_UNUSED 0
24 /* Guaranteed copy elision (C++17), __cpp_guaranteed_copy_elision (C++2a): */
25 #define HAVE_CPP_GUARANTEED_COPY_ELISION 0
27 // Compiler supports all of C++2a <https://wg21.link/P0202R3> "Add Constexpr Modifiers to Functions
28 // in <algorithm> and <utility> Headers", <https://wg21.link/P1004R2> "Making std::vector
29 // constexpr", and <https://wg21.link/P1143R2> "Adding the constinit keyword":
30 #define HAVE_CPP_CONSTINIT_SORTED_VECTOR 0
32 /* GCC bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87150> "move ctor wrongly chosen in return
33 stmt (derived vs. base)": */
34 #define HAVE_GCC_BUG_87150 0