chrisdew / protobuf

Protocol Buffers for Node.JS
http://code.google.com/p/protobuf-for-node/
Apache License 2.0
234 stars 70 forks source link

Fails to build on OSX #55

Closed skeldoy closed 5 years ago

skeldoy commented 7 years ago

OS: 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu3789.41.3~3/RELEASE_X86_64 x86_64 npm: 4.3.0 node: v7.6.0

Apart from a shitload of warning about for-looping over and comparing integers and unsigned long.. There is those pesky error-messages that stops the whole thing:

../protobuf/src/google/protobuf/message.cc:130:60: error: implicit instantiation of undefined template 'std::1::basic_istream<char, std::1::char_traits >' return ParseFromZeroCopyStream(&zero_copy_input) && input->eof(); ^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iosfwd:109:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_istream; ^ ../protobuf/src/google/protobuf/message.cc:135:67: error: implicit instantiation of undefined template 'std::1::basic_istream<char, std::1::char_traits >' return ParsePartialFromZeroCopyStream(&zero_copy_input) && input->eof(); ^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iosfwd:109:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_istream; ^ ../protobuf/src/google/protobuf/message.cc:175:16: error: implicit instantiation of undefined template 'std::__1::basic_ostream<char, std::__1::char_traits >' return output->good(); ^ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iosfwd:111:33: note: template is declared here class _LIBCPP_TYPE_VIS_ONLY basic_ostream;

syndbg commented 5 years ago

56