In file included from external/gtest/src/../include/gtest/gtest-param-test.h:158:0,
from external/gtest/src/../include/gtest/gtest.h:69,
from external/gtest/src/gtest_main.cc:32:
external/gtest/src/../include/gtest/internal/gtest-param-util-generated.h: In instantiation of 'testing::internal::ValueArray2<T1, T2>:perator testing::internal:aramGenerator<T>() const [with T = bool; T1 = bool; T2 = bool]':
external/gtest/src/../include/gtest/gtest-param-test.h:1185:28: required from here
external/gtest/src/../include/gtest/internal/gtest-param-util-generated.h:77:26: error: 'ValuesIn' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from external/gtest/src/../include/gtest/gtest.h:69:0,
from external/gtest/src/gtest_main.cc:32:
external/gtest/src/../include/gtest/gtest-param-test.h:287:58: note: 'template<class Container> testing::internal:aramGenerator<typename Container::value_type> testing::ValuesIn(const Container&)' declared here, later in the translation unit
host C++: libmtp <= frameworks/base/media/mtp/MtpProperty.cpp
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libgtest_main_host_intermediates/gtest_main.o] Error 1我已经按照网上的提示进行添加了
-fpermissive