Bump version to 24.04.3.4
[LibreOffice.git] / config_host / config_global.h.in
blobdce52798a1fee3c6c8430549a40b518033261dac
1 /*
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_SYSLOG_H 0
18 // Compiler supports C++20 <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1073r3.html>
19 // "Immediate functions":
20 #define HAVE_CPP_CONSTEVAL 0
22 // Compiler supports all of C++2a <https://wg21.link/P0202R3> "Add Constexpr Modifiers to Functions
23 // in <algorithm> and <utility> Headers", <https://wg21.link/P1004R2> "Making std::vector
24 // constexpr", and <https://wg21.link/P1143R2> "Adding the constinit keyword":
25 #define HAVE_CPP_CONSTINIT_SORTED_VECTOR 0
27 /* "CWG motion 23: P1825R0 'Merged wording for P0527R1 and P1155R3' (DR)" in
28 <https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/n4829.html> "N4829 Editors' Report --
29 Programming Languages -- C++" marks
30 <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1155r3.html> "More implicit moves" as a
31 DR. Some versions of GCC already implemented it prior to the fix for
32 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87150> "move ctor wrongly chosen in return stmt
33 (derived vs. base)"; MSVC++ 14.24 started to implement it, see <https://
34 developercommunity.visualstudio.com/content/problem/852827/
35 msvc-1424-started-to-chose-move-ctor-in-return-der.html> "MSVC++ 14.24 started to choose move ctor
36 in return derived vs. base". At least Clang 9, which does not implement it, emits
37 -Werror,-Wreturn-std-move when it therefore considers a std::move to be missing. On the other
38 hand, at least some versions of GCC would emit -Werror=redundant-move in places where such a
39 std::move would be added unconditionally, see c00948d9bd35dfb15a331c2163f32e9ee24644fd "Silence
40 bogus -Werror=redundant-move (GCC 9)". */
41 #define HAVE_P1155R3 0
43 // Whether the OS provides a usable dynamic loading API
44 #define HAVE_DLAPI 0
46 // Whether the OS uses the common UNIX dynamic loading API calls, like dlopen, dlsym, dladdr etc.
47 // Use HAVE_DLAPI instead. Should not be used outside of sal/osl/unx/module.cxx!
48 #define HAVE_UNIX_DLAPI 0
50 #endif