Public bug reported:
Version 1.6.1914+ds2-3
Log snippet:
```
...
132s Building gtest-death-test.o
133s /tmp/autopkgtest.GvCevx/build.xMD/src/cpp/test/src/gtest-death-test.cc: In
function ‘pid_t testing::internal::ExecDeathTestSpawnChild(char* const*, int)’:
133s
/tmp/autopkgtest.GvCevx/build.xMD/src/cpp/test/src/gtest-death-test.cc:1385:26:
error: ‘uintptr_t’ does not name a type
133s 1385 | reinterpret_cast<uintptr_t>(stack_top) %
kMaxStackAlignment == 0);
133s | ^~~~~~~~~
133s
/tmp/autopkgtest.GvCevx/build.xMD/src/cpp/test/src/gtest-death-test.cc:308:38:
note: in definition of macro ‘GTEST_DEATH_TEST_CHECK_’
133s 308 | if (!::testing::internal::IsTrue(expression)) { \
133s | ^~~~~~~~~~
133s
/tmp/autopkgtest.GvCevx/build.xMD/src/cpp/test/src/gtest-death-test.cc:86:1:
note: ‘uintptr_t’ is defined in header ‘<cstdint>’; this is probably fixable by
adding ‘#include <cstdint>’
133s 85 | #include "src/gtest-internal-inl.h"
133s +++ |+#include <cstdint>
133s 86 |
133s make[1]: *** [Makefile:82:
/tmp/autopkgtest.GvCevx/build.xMD/src/.lib/gtest-death-test.o] Error 1
133s make[1]: Leaving directory '/tmp/autopkgtest.GvCevx/build.xMD/src/cpp/test'
133s make: *** [Makefile:39: test] Error 2
...
```
** Affects: openzwave (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2120868
Title:
gtest-death-test.cc fails to compile with C23 with "error: ‘uintptr_t’
does not name a type"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openzwave/+bug/2120868/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs