You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cmake --version
cmake version 3.29.0
CMake suite maintained and supported by Kitware (kitware.com/cmake).
Additional context
No response
The text was updated successfully, but these errors were encountered:
wangtz0607
changed the title
[Bug]: undefined reference totesting::internal::PrintU8StringTo
[Bug]: undefined reference to testing::internal::PrintU8StringToAug 8, 2024
Your project is set to use C++20 (which is necessary for std::u8string) but I'm guessing your googletest library was built against an older C++ standard, like C++14 or C++17.
Describe the issue
The target fails to link with linker message "undefined reference to
testing::internal::PrintU8StringTo
" whenstd::u8string
is used in tests.Steps to reproduce the problem
Example
Actual Behavior
The target fails to link with linker message:
Expected Behavior
The target should link normally.
What version of GoogleTest are you using?
Tag
v1.15.2
What operating system and version are you using?
What compiler and version are you using?
What build system are you using?
Additional context
No response
The text was updated successfully, but these errors were encountered: