libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/protobuf-3.3.0/work/protobuf-3.3.0/src -I.. -DGOOGLE_PROTOBUF_NO_ RTTI -pthread -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wno-sign-compare -march=native -O2 -pipe -g -c /var/tmp/portage/dev-libs/protobuf-3.3.0/work/protobuf-3. 3.0/src/google/protobuf/text_format.cc -fPIC -DPIC -o google/protobuf/.libs/text_format.o In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6/cmath:45:0, from /var/tmp/portage/dev-libs/protobuf-3.3.0/work/protobuf-3.3.0/src/google/protobuf/stubs/mathlimits.h:54, from /var/tmp/portage/dev-libs/protobuf-3.3.0/work/protobuf-3.3.0/src/google/protobuf/stubs/mathlimits.cc:36: /var/tmp/portage/dev-libs/protobuf-3.3.0/work/protobuf-3.3.0/src/google/protobuf/stubs/mathlimits.h: In static member function ‘static bool google::protobuf ::MathLimits<float>::IsFinite(google::protobuf::MathLimits<float>::Type)’: /var/tmp/portage/dev-libs/protobuf-3.3.0/work/protobuf-3.3.0/src/google/protobuf/stubs/mathlimits.h:233:20: error: expected unqualified-id before ‘(’ token #define ISINF std::isinf ^ /var/tmp/portage/dev-libs/protobuf-3.3.0/work/protobuf-3.3.0/src/google/protobuf/stubs/mathlimits.h:250:48: note: in expansion of macro ‘ISINF’ static bool IsFinite(const Type x) { return !ISINF(x) && !ISNAN(x); } \ ^~~~~ /var/tmp/portage/dev-libs/protobuf-3.3.0/work/protobuf-3.3.0/src/google/protobuf/stubs/mathlimits.h:282:3: note: in expansion of macro ‘DECL_FP_LIMIT_FUNCS’ DECL_FP_LIMIT_FUNCS \ ^~~~~~~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/protobuf-3.3.0/work/protobuf-3.3.0/src/google/protobuf/stubs/mathlimits.h:285:1: note: in expansion of macro ‘DECL_FP_LIMITS’ DECL_FP_LIMITS(float, FLT) ^~~~~~~~~~~~~~ /var/tmp/portage/dev-libs/protobuf-3.3.0/work/protobuf-3.3.0/src/google/protobuf/stubs/mathlimits.h:233:20: error: expected primary-expression before ‘__typeof’ #define ISINF std::isinf ^ ...
This works fine with stable protobuf. Thus, not blocking any stabilizations.
Can't reproduce the error but it's likely fixed upstream with https://github.com/google/protobuf/commit/3908b4e40de8a9af1ba06ef01abdf8c5d9162623
<dev-libs/protobuf-3.4 have been deleted.