Failing to get a clang-sanitize build #992
|
I'm trying to debug an issue using
I am building using: At some point I'm getting the following build error: From what I can see |
Replies: 3 comments
|
It's normal for clang to use libstdc++ (gcc's standard library). It seems like this is specifically some bug with clang & libstdc++12: llvm/llvm-project#76515. I'd say install g++-13 (to get libstdc++13) or downgrade to 11 instead. |
|
CmakePreset has -Wno-deprecated-declarations for clang, can you check the output whether it is being passed correctly? |
|
Thanks, I solved it by removing |
It's normal for clang to use libstdc++ (gcc's standard library). It seems like this is specifically some bug with clang & libstdc++12: llvm/llvm-project#76515. I'd say install g++-13 (to get libstdc++13) or downgrade to 11 instead.