You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ c++ -v
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
First errors (there are many more):
[ 86%] Building CXX object CMakeFiles/test_EmbeddedProto.dir/test/test_string_bytes.o
[ 91%] Building CXX object CMakeFiles/test_EmbeddedProto.dir/test/test_oneof_fields.o
In file included from /var/folders/vd/wr3sq1gn4vl6z129hcs5_kz00000gn/T/tmp.p8ASoSEH/EmbeddedProto/src/Fields.cpp:31:
In file included from /var/folders/vd/wr3sq1gn4vl6z129hcs5_kz00000gn/T/tmp.p8ASoSEH/EmbeddedProto/src/Fields.h:35:
/var/folders/vd/wr3sq1gn4vl6z129hcs5_kz00000gn/T/tmp.p8ASoSEH/EmbeddedProto/src/WireFormatter.h:259:19: error: function 'ZigZagDecode<unsigned long long>' with deduced return type cannot be used before it
is defined
value = ZigZagDecode(uint_value);
^
/var/folders/vd/wr3sq1gn4vl6z129hcs5_kz00000gn/T/tmp.p8ASoSEH/EmbeddedProto/src/WireFormatter.h:482:29: note: 'ZigZagDecode<unsigned long long>' declared here
static constexpr auto ZigZagDecode(const UINT_TYPE n)
^
/var/folders/vd/wr3sq1gn4vl6z129hcs5_kz00000gn/T/tmp.p8ASoSEH/EmbeddedProto/src/WireFormatter.h:416:75: error: no member named 'ceil' in namespace 'std'; did you mean simply 'ceil'?
static constexpr uint8_t N_BYTES_IN_VARINT = static_cast<uint8_t>(std::ceil(
^~~~~~~~~
ceil
/Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:841:1: note: 'ceil' declared here
ceil(_A1 __lcpp_x) _NOEXCEPT {return ::ceil((double)__lcpp_x);}
^
The test suite does not compile on Mac 10.14.6 with clang.
Steps to reproduce:
Enviroment:
First errors (there are many more):
Full log attached.
EmbeddedProto-mac-compilation-error-log.txt
The text was updated successfully, but these errors were encountered: