LOKit: Hide sound controls on Impress sidebar's Slide transition pane
[LibreOffice.git] / config_host / config_global.h.in
blobaa5863f73b6abe475d27978508c6bd5b951fbbb8
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_GCC_BUILTIN_FFS 0
17 /* _Pragma */
18 #define HAVE_GCC_PRAGMA_OPERATOR 0
19 #define HAVE_GCC_DEPRECATED_MESSAGE 0
20 #define HAVE_SYSLOG_H 0
22 /* Guaranteed copy elision (C++17), __cpp_guaranteed_copy_elision (C++2a): */
23 #define HAVE_CPP_GUARANTEED_COPY_ELISION 0
25 // Compiler supports all of C++2a <https://wg21.link/P0202R3> "Add Constexpr Modifiers to Functions
26 // in <algorithm> and <utility> Headers", <https://wg21.link/P1004R2> "Making std::vector
27 // constexpr", and <https://wg21.link/P1143R2> "Adding the constinit keyword":
28 #define HAVE_CPP_CONSTINIT_SORTED_VECTOR 0
30 // Useable C++2a <span>:
31 #define HAVE_CPP_SPAN 0
33 /* "CWG motion 23: P1825R0 'Merged wording for P0527R1 and P1155R3' (DR)" in
34 <https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/n4829.html> "N4829 Editors' Report --
35 Programming Languages -- C++" marks
36 <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1155r3.html> "More implicit moves" as a
37 DR. Some versions of GCC already implemented it prior to the fix for
38 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87150> "move ctor wrongly chosen in return stmt
39 (derived vs. base)"; MSVC++ 14.24 started to implement it, see <https://
40 developercommunity.visualstudio.com/content/problem/852827/
41 msvc-1424-started-to-chose-move-ctor-in-return-der.html> "MSVC++ 14.24 started to chose move ctor
42 in return derived vs. base". At least Clang 9, which does not implement it, emits
43 -Werror,-Wreturn-std-move when it therefore considers a std::move to be missing. On the other
44 hand, at least some versions of GCC would emit -Werror=redundant-move in places where such a
45 std::move would be added unconditionally, see c00948d9bd35dfb15a331c2163f32e9ee24644fd "Silence
46 bogus -Werror=redundant-move (GCC 9)". */
47 #define HAVE_P1155R3 0
49 #endif