Closed finco123 closed 1 month ago
I can't reproduce this problem. Please note that GCC 10 is not the default compiler that comes with Ubuntu 18.04, so if you installed it yourself, it may be misconfigured. Full instructions would be required if you need help, but Ubuntu 18.04 is not a supported platform anymore, so it is not likely anyone will look into this.
Describe the issue
Something related to variant causes error when building the CMake target tests based on quick start .
Steps to reproduce the problem
C++=14
toC++17
withcmake -DABSL_BUILD_TESTING=ON -DABSL_USE_GOOGLETEST_HEAD=ON -DCMAKE_CXX_STANDARD=14 ..
What version of Abseil are you using?
20240116.2 Git output: d7aaad83b488fd62bd51c81ecf16cd938532cc0a
What operating system and version are you using?
Ubuntu 18.04.1
What compiler and version are you using?
gcc (Ubuntu 10.3.0-1ubuntu1\~18.04\~1) 10.3.0 clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
What build system are you using?
cmake version 3.30.0
Additional context
I try to build with
C++14
, another error occurs.