I had tried to compile grpc version 1.34.0 using gcc 4.8.5; however, I ran 
into an issue with absl.  Error is below.  I can compile grpc 1.30.2 using 
gcc 4.8.5.  Perhaps absl has some c++11/C++14 feature that is not supported 
by the gcc 4.8.5 compiler?

Thanks for the information regarding gRPC 1.46.

/home/jpallotta/rpmbuild/BUILD/grpc/third_party/abseil-cpp/absl/random/internal/distribution_test_util.cc:
 
In function 'std::ostream& 
absl::lts_2020_09_23::random_internal::operator<<(std::ostream&, const 
absl::lts_2020_09_23::random_internal::DistributionMoments&)':
/home/jpallotta/rpmbuild/BUILD/grpc/third_party/abseil-cpp/absl/random/internal/distribution_test_util.cc:77:66:
 
error: no matching function for call to 'StrFormat(const char [45], const 
double&, double, const double&, const double&)'
                                moments.skewness, moments.kurtosis);
                                                                  ^
/home/jpallotta/rpmbuild/BUILD/grpc/third_party/abseil-cpp/absl/random/internal/distribution_test_util.cc:77:66:
 
note: candidate is:
In file included from 
/home/jpallotta/rpmbuild/BUILD/grpc/third_party/abseil-cpp/absl/random/internal/distribution_test_util.cc:25:0:
/home/jpallotta/rpmbuild/BUILD/grpc/third_party/abseil-cpp/absl/strings/str_format.h:338:34:
 
note: template<class ... Args> std::string 
absl::lts_2020_09_23::StrFormat(absl::lts_2020_09_23::FormatSpec<Args 
...>&, const Args& ...)
 ABSL_MUST_USE_RESULT std::string StrFormat(const FormatSpec<Args...>& 
format,
                                  ^
/home/jpallotta/rpmbuild/BUILD/grpc/third_party/abseil-cpp/absl/strings/str_format.h:338:34:
 
note:   template argument deduction/substitution failed:
/home/jpallotta/rpmbuild/BUILD/grpc/third_party/abseil-cpp/absl/random/internal/distribution_test_util.cc:77:66:
 
note:   mismatched types 'absl::lts_2020_09_23::FormatSpec<Args ...>' and 
'const char [45]'
                                moments.skewness, moments.kurtosis);

On Wednesday, November 30, 2022 at 5:28:22 PM UTC-5 Mark D. Roth wrote:

> gRPC 1.46 was the last version supporting only C++11.
>
> https://github.com/grpc/proposal/blob/master/L98-requiring-cpp14.md
> On Monday, November 28, 2022 at 12:16:14 PM UTC-8 Jeremy Pallotta wrote:
>
>> The latest versions of gRPC require compiler support for C++14.
>>
>> I need to use gRPC with CentOS 7's native compiler, gcc 4.8.5, which 
>> supports most of c++11.  What is the latest version of gRPC that doesn't 
>> require c++14 support?
>>
>> Thanks in advance.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/93db7d3c-53ab-41e9-9e64-b74937873a1an%40googlegroups.com.

Reply via email to