Open WittonBell opened 2 months ago
If I use clang++ in clang64 environment the program compiles fine. Probably, there are some difference in abseil-cpp package in gcc and clang based environment.
You can also try adding -fuse-ld=lld
to link options and -stdlib=libc++
to compile options.
You can also try adding
-fuse-ld=lld
to link options and-stdlib=libc++
to compile options.
@oltolm It does not take effect, also has the issue.
Then the mingw64 version is not binary compatible with clang and you should use the clang64 environment like Biswa96 said.
Description / Steps to reproduce the issue
main.cpp
:int main(int, char**){ LOG(INFO) << (unsigned long long)1; }
cmake -DCMAKE_CXX_COMPILER=clang++ .
inmingw64
terminalcmake --build .
it report:btw: use
g++
build success.Expected behavior
build success.
Actual behavior
build failed
Verification
Windows Version
MINGW64_NT-10.0-19045
MINGW environments affected
Are you willing to submit a PR?
No response