-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed as not planned
Labels
clangClang issues not falling into any other categoryClang issues not falling into any other categoryinvalidResolved as invalid, i.e. not a bugResolved as invalid, i.e. not a bug
Description
I've installed clang-19 on a fresh ubuntu 24.04, using llvm.sh from https://apt.llvm.org/
I've an error compiling a c++ simple source using format header
gvollant@gv-w11x64:/mnt/y/avir$ cat format.cpp
#include <format>
#include <iostream>
int main()
{
return 0;
}
gvollant@gv-w11x64:/mnt/y/avir$
gvollant@gv-w11x64:/mnt/y/avir$
gvollant@gv-w11x64:/mnt/y/avir$ clang++-19 -std=c++20 -Wall format.cpp
In file included from format.cpp:1:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/format:58:
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../include/c++/14/bits/unicode.h:807:4: error: expression is not assignable
807 | ++this;
| ^ ~~~~
1 error generated.
gvollant@gv-w11x64:/mnt/y/avir$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
gvollant@gv-w11x64:/mnt/y/avir$ clang++-19 --version
Ubuntu clang version 19.1.0 (++20240805101653+d033ae172d1c-1~exp1~20240805101708.18)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm-19/bin
no problem using c++17 instead c++20
Metadata
Metadata
Assignees
Labels
clangClang issues not falling into any other categoryClang issues not falling into any other categoryinvalidResolved as invalid, i.e. not a bugResolved as invalid, i.e. not a bug