google / googletest

GoogleTest - Google Testing and Mocking Framework
https://google.github.io/googletest/
BSD 3-Clause "New" or "Revised" License
33.7k stars 9.98k forks source link

[Bug]: Non-standard function _exit used in gmock-spec-builders.cc on line 533 #4447

Closed zadirion closed 5 months ago

zadirion commented 5 months ago

Describe the issue

Should be _Exit This prevents it from compiling and/or linking on platforms that do not have a non-standard _exit implemented, such as the Nintendo Switch

Steps to reproduce the problem

Compile on Nintendo Switch

What version of GoogleTest are you using?

1.14.0

What operating system and version are you using?

Nintendo Switch SDK

What compiler and version are you using?

Nintendo Switch clang

What build system are you using?

Nintendo Switch NDK clang

Additional context

No response