Skip to content

Update gtest from release-1.10.0 -> release-1.12.0. NFC#2687

Merged
sbc100 merged 1 commit into
mainfrom
update_gtest
Feb 11, 2026
Merged

Update gtest from release-1.10.0 -> release-1.12.0. NFC#2687
sbc100 merged 1 commit into
mainfrom
update_gtest

Conversation

@sbc100

@sbc100 sbc100 commented Feb 10, 2026

Copy link
Copy Markdown
Member

On my machine this fixes the following error:

In file included from /usr/local/google/home/sbc/dev/wasm/wabt/third_party/gtest/googletest/src/gtest-all.cc:42:
/usr/local/google/home/sbc/dev/wasm/wabt/third_party/gtest/googletest/src/gtest-death-test.cc:1385:26: error: unknown type name 'uintptr_t'; did you mean 'intptr_t'?
 1385 |         reinterpret_cast<uintptr_t>(stack_top) % kMaxStackAlignment == 0);
      |                          ^~~~~~~~~
      |                          intptr_t
/usr/local/google/home/sbc/dev/wasm/wabt/third_party/gtest/googletest/src/gtest-death-test.cc:308:38: note: expanded from macro 'GTEST_DEATH_TEST_CHECK_'
  308 |     if (!::testing::internal::IsTrue(expression)) { \
      |                                      ^
/usr/include/unistd.h:267:20: note: 'intptr_t' declared here
  267 | typedef __intptr_t intptr_t;
      |                    ^
1 error generated.
[37/40] Building CXX object CMakeFiles/wabt-unittests.dir/src/test-interp.cc.o

On my machine this fixes the following error:

```
In file included from /usr/local/google/home/sbc/dev/wasm/wabt/third_party/gtest/googletest/src/gtest-all.cc:42:
/usr/local/google/home/sbc/dev/wasm/wabt/third_party/gtest/googletest/src/gtest-death-test.cc:1385:26: error: unknown type name 'uintptr_t'; did you mean 'intptr_t'?
 1385 |         reinterpret_cast<uintptr_t>(stack_top) % kMaxStackAlignment == 0);
      |                          ^~~~~~~~~
      |                          intptr_t
/usr/local/google/home/sbc/dev/wasm/wabt/third_party/gtest/googletest/src/gtest-death-test.cc:308:38: note: expanded from macro 'GTEST_DEATH_TEST_CHECK_'
  308 |     if (!::testing::internal::IsTrue(expression)) { \
      |                                      ^
/usr/include/unistd.h:267:20: note: 'intptr_t' declared here
  267 | typedef __intptr_t intptr_t;
      |                    ^
1 error generated.
[37/40] Building CXX object CMakeFiles/wabt-unittests.dir/src/test-interp.cc.o
```
@sbc100 sbc100 requested review from dschuff and keithw February 10, 2026 01:44
@sbc100 sbc100 merged commit d09cffc into main Feb 11, 2026
33 checks passed
@sbc100 sbc100 deleted the update_gtest branch February 11, 2026 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants