README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0a4f0ae2cfba246cb6a2708b9db5dab8fc71e6a9
Author: Stephan Bergmann <[email protected]>
AuthorDate: Sat Mar 16 09:24:12 2024 +0100
Commit: Stephan Bergmann <[email protected]>
CommitDate: Sat Mar 16 11:53:25 2024 +0100
Building with Clang needs at least libstdc++ 10
Not sure how 02f48a32400f81413329d81203c417521882cab6 "Adjust for new linux
baseline" had decided to declare "Clang 12 with libstdc++ 8.5" sufficient
for
building on Linux. But I just experienced that building recent master on
Ubuntu
20.04 with its libstdc++ 9.4.0, against a (lode-built) Clang 12.0.1, failed
with
> codemaker/source/commonjava/commonjava.cxx:45:21: error: no matching
literal operator for call to 'operator""_ostr' with arguments of types 'const
char *' and 'unsigned long', and no matching literal operator template
> { "void"_ostr, "java/lang/Void"_ostr },
> ^
etc., apparently because the use of std::copy_n in constexpr
O[U]StringLiteral
ctors is not yet constexpr there. And
<https://en.cppreference.com/w/cpp/compiler_support#C.2B.2B20_library_features>
indeed lists "P0202R3" (i.e.,
<https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0202r3.html> "Add
Constexpr Modifiers to Functions in <algorithm> and <utility> Headers") as
only
available since "GCC libstdc++": "10".
Change-Id: I9d8ee2833f3b0c6c24059ec6e5d4dc8994058a1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164895
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <[email protected]>
diff --git a/README.md b/README.md
index f529e48d4714..441ce61e9686 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ run and compile LibreOffice, also used by the TDF builds:
* Build: 12 (13 for aarch64) + Xcode 14
* Linux:
* Runtime: RHEL 8 or CentOS 8 and comparable
- * Build: either GCC 12; or Clang 12 with libstdc++ 8.5
+ * Build: either GCC 12; or Clang 12 with libstdc++ 10
* iOS (only for LibreOfficeKit):
* Runtime: 11.4 (only support for newer i devices == 64 bit)
* Build: Xcode 9.3 and iPhone SDK 11.4