At least Clang 12 trunk understands -std=c++2b now
...since <https://github.com/llvm/llvm-project/commit/ 6627a3c2873fdf7ccba1a1573371079be48b36e8> "[c++2b] Add option -std=c++2b to enable support for potential C++2b features." Change-Id: I56b689c740c4269fa5ee29976ed8b0c17a04e6a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107175 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
004ad88054
commit
91a360472f
@ -7042,7 +7042,7 @@ if test "$COM" = MSC -a "$COM_IS_CLANG" != TRUE; then
|
||||
elif test "$GCC" = "yes" -o "$COM_IS_CLANG" = TRUE; then
|
||||
my_flags='-std=c++17 -std=c++1z'
|
||||
if test "$with_latest_c__" = yes; then
|
||||
my_flags="-std=c++20 -std=c++2a $my_flags"
|
||||
my_flags="-std=c++2b -std=c++20 -std=c++2a $my_flags"
|
||||
fi
|
||||
for flag in $my_flags; do
|
||||
if test "$COM" = MSC; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user