Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport googletest upstream patch to fix GCC/Clang warning #47

Closed
Echelon9 opened this issue Aug 15, 2016 · 1 comment
Closed

Backport googletest upstream patch to fix GCC/Clang warning #47

Echelon9 opened this issue Aug 15, 2016 · 1 comment

Comments

@Echelon9
Copy link
Owner

google/googletest#633

Fixes the following warning:

In file included from ../../lib/test/gtest/src/gtest-all.cc:42:
../../lib/test/gtest/src/gtest.cc:370:12: warning: missing field 'owner_'
      initializer [-Wmissing-field-initializers]
GTEST_API_ GTEST_DEFINE_STATIC_MUTEX_(g_linked_ptr_mutex);
           ^
../../lib/test/gtest/include/gtest/internal/gtest-port.h:1390:79: note: 
      expanded from macro 'GTEST_DEFINE_STATIC_MUTEX_'
    ::testing::internal::MutexBase mutex = { PTHREAD_MUTEX_INITIALIZER, false }
                                                                              ^
1 warning generated.
@Echelon9
Copy link
Owner Author

Merged.

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

No branches or pull requests

1 participant