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
Running make simulator-test locally on Archlinux (GCC 11.1.0) fails with:
Infileincludedfrom../../googletest/src/gtest-all.cc:42:
../../googletest/src/gtest-death-test.cc: In function ‘bool testing::internal::StackGrowsDown()’:
../../googletest/src/gtest-death-test.cc:1301:24: error: ‘dummy’ may be used uninitialized [-Werror=maybe-uninitialized]
1301 | StackLowerThanAddress(&dummy, &result);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
../../googletest/src/gtest-death-test.cc:1290:13: note: by argument 1 of type ‘const void*’ to ‘void testing::internal::StackLowerThanAddress(const void*, bool*)’ declared here
1290 | static void StackLowerThanAddress(const void* ptr, bool* result) {
| ^~~~~~~~~~~~~~~~~~~~~
../../googletest/src/gtest-death-test.cc:1299:7: note: ‘dummy’ declared here
1299 | int dummy;
| ^~~~~
cc1plus: all warnings being treated as errors
It looks like this was reported in and fixed for gtest 1.11.0:
Running
make simulator-test
locally on Archlinux (GCC 11.1.0) fails with:It looks like this was reported in and fixed for gtest 1.11.0:
The text was updated successfully, but these errors were encountered: