Minimum requirements for gcc in order to compile c-ares?

Mun Johl Mun.Johl at wdc.com
Tue Jan 10 22:46:29 CET 2023


Hello,

I'm trying to compile c-ares on a RHEL7 server with gcc/g++ v4.8.5 .  My compilation is failing with many errors, the first of which is as follows:

In file included from ares-test.h:12:0,
                 from ares-test-main.cc:4:
./gmock-1.11.0/gtest/gtest.h: In static member function 'static constexpr bool testing::internal::MatcherBase<T>::IsInlined()':
./gmock-1.11.0/gtest/gtest.h:6495:12: error: 'is_trivially_copy_constructible' is not a member of 'std'

Based on a Google search, I infer that my gcc version is too old.  What are the minimum requirements to compile c-ares?

Thank you and regards,

--
Mun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.haxx.se/pipermail/c-ares/attachments/20230110/e67f02d6/attachment.htm>


More information about the c-ares mailing list