Closed ghost closed 1 year ago
Thanks for the feedback. I did a little research on this issue and it seems to be the problem discussed on Stack Overflow:
I made a small change in my last commit (4480f38) that should allow your code to compile with clang++ 15 and -std=c++20
.
Thanks for the response!
This fixed the issue. Thank you.
Describe the bug
Invocation of the clang++ compiler like
clang++ -std=c++20 my_prog.cpp -o my_prog -lfinal
gives me this error:If I try to switch to the 17th standard, everything compiles without any errors or warnings.
I also noticed that if I compile with
g++
(withstd=c++20
andstd=c++17
), it also compiles normally. So it looks like this error only occurs with clang.I have followed the build instructions described in the README.md.
How to reproduce the bug?
For example, compile one of the examples like
clang++ -std=c++20 -O3 ui.cpp -o ui -lfinal
In which environment did the bug occur?
Which operating system do you use? Linux 6.2.6-arch1-1
Which distribution do you use? Arch Linux
On which CPU architecture did you test? x86_64
Which compiler in which version did you use? Clang 15.0.7