cppguy / googletest

Automatically exported from code.google.com/p/googletest
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Warnings when building v8's base-unittests target #473

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
$ ./build/gyp_v8
$ ninja -C out/Debug base-unittests
[28/30] CXX obj/testing/gtest/src/gtest.gtest.o
../../testing/gtest/src/gtest.cc:374:12: warning: missing field 'owner_' 
initializer [-Wmissing-field-initializers]
GTEST_API_ GTEST_DEFINE_STATIC_MUTEX_(g_linked_ptr_mutex);
           ^
../../testing/gtest/include/gtest/internal/gtest-port.h:1905:80: note: expanded 
from macro 'GTEST_DEFINE_STATIC_MUTEX_'
     ::testing::internal::MutexBase mutex = { PTHREAD_MUTEX_INITIALIZER, false }
                                                                               ^
1 warning generated.

Original issue reported on code.google.com by tfar...@chromium.org on 16 Aug 2014 at 10:12