Announcement

Collapse
No announcement yet.

LLVM Clang Now Exposes -std=c++23 Rather Than -std=c++2b

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • LLVM Clang Now Exposes -std=c++23 Rather Than -std=c++2b

    Phoronix: LLVM Clang Now Exposes -std=c++23 Rather Than -std=c++2b

    Merged today to LLVM 17 Git is now recognizing -std=c++23 rather than just -std=c++2b for the Clang compiler now that C++23 has been deemed technically complete...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Boost's stacktrace (typo)

    Comment


    • #3
      GCC 11 also opted to go straight for -std=c++23, though it also supports -std=c++2b.

      Looking at the clang commit, it appears that -std=c++2b no longer works, so existing builds would fail until compilation flags are updated. With GCC you can continuing using -std=c++2b even though its meaning is identical to -std=c++23.

      Comment

      Working...
      X