Fixing up gtest to work with scons (better!)
This commit is contained in:
parent
47ca68760a
commit
301a7fa525
5 changed files with 14 additions and 4 deletions
|
@ -132,7 +132,7 @@
|
|||
// prevent a user from accidentally including gtest-internal-inl.h in
|
||||
// his code.
|
||||
#define GTEST_IMPLEMENTATION_ 1
|
||||
#include "src/gtest-internal-inl.h"
|
||||
#include "gtest-internal-inl.h"
|
||||
#undef GTEST_IMPLEMENTATION_
|
||||
|
||||
#if GTEST_OS_WINDOWS
|
||||
|
@ -366,9 +366,14 @@ void AssertHelper::operator=(const Message& message) const {
|
|||
); // NOLINT
|
||||
}
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
|
||||
|
||||
// Mutex for linked pointers.
|
||||
GTEST_API_ GTEST_DEFINE_STATIC_MUTEX_(g_linked_ptr_mutex);
|
||||
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
// Application pathname gotten in InitGoogleTest.
|
||||
std::string g_executable_path;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue