<div dir="ltr">Hi,<div><br></div><div>I cannot build the JDK tests (`make test`) on macOS (aarch64) with Xcode 14.2 and Googletest v1.8.1.  I checked the issue tracker first, but found nothing related to this, so thought I'd mention it here; please redirect me to another mailing list if this is not the appropriate place.</div><div><br></div><div>Excerpt from the output is as follows (there are probably more error locations, but this is all that's given to start, only 20 times over):</div><div><br></div><div>=== Output from failing command(s) repeated here ===<br>* For target hotspot_variant-server_libjvm_gtest_objs_gtestMain.o:<br>In file included from /Users/mariellh/Work/jdk/test/hotspot/gtest/gtestMain.cpp:29:<br>In file included from /Users/mariellh/Work/jdk/test/hotspot/gtest/unittest.hpp:51:<br>In file included from /Users/mariellh/Work/googletest/googlemock/include/gmock/gmock.h:59:<br>/Users/mariellh/Work/googletest/googlemock/include/gmock/gmock-actions.h:484:3: error: definition of implicit copy constructor for 'PolymorphicAction<testing::internal::ReturnNullAction>' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]<br>  GTEST_DISALLOW_ASSIGN_(PolymorphicAction);<br>  ^<br>/Users/mariellh/Work/googletest/googletest/include/gtest/internal/gtest-port.h:928:8: note: expanded from macro 'GTEST_DISALLOW_ASSIGN_'<br>  void operator=(type const &) GTEST_CXX11_EQUALS_DELETE_<br>       ^<br>/Users/mariellh/Work/googletest/googlemock/include/gmock/gmock-actions.h:1125:10: note: in implicit copy constructor for 'testing::PolymorphicAction<testing::internal::ReturnNullAction>' first required here<br>  return MakePolymorphicAction(internal::ReturnNullAction());<br>         ^<br>/Users/mariellh/Work/googletest/googlemock/include/gmock/gmock-actions.h:484:3: error: definition of implicit copy constructor for 'PolymorphicAction<testing::internal::ReturnVoidAction>' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]<br>  GTEST_DISALLOW_ASSIGN_(PolymorphicAction);<br>  ^<br>   ... (rest of output omitted)</div><div><br></div><div>Cheers,</div><div>Mariell Hoversholm (she/they)</div><div></div></div>