Open GoogleCodeExporter opened 9 years ago
Fixed with "brew install libtool"
Original comment by jacob.am...@gmail.com
on 26 Jul 2013 at 4:56
Now I am getting this as an error when doing the "make" command.
/Applications/Xcode5-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch
ain/usr/bin/../lib/c++/v1/ext/hash_map:209:2: warning:
Use of the header <ext/hash_map> is deprecated. Migrate to
<unordered_map> [-W#warnings]
#warning Use of the header <ext/hash_map> is deprecated. Migrate to <u...
^
In file included from google/protobuf/message.cc:36:
In file included from ./google/protobuf/stubs/hash.h:44:
/Applications/Xcode5-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch
ain/usr/bin/../lib/c++/v1/ext/hash_set:202:2: warning:
Use of the header <ext/hash_set> is deprecated. Migrate to
<unordered_set> [-W#warnings]
#warning Use of the header <ext/hash_set> is deprecated. Migrate to <u...
^
google/protobuf/message.cc:130:60: error: implicit instantiation of undefined
template 'std::__1::basic_istream<char, std::__1::char_traits<char> >'
return ParseFromZeroCopyStream(&zero_copy_input) && input->eof();
^
/Applications/Xcode5-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch
ain/usr/bin/../lib/c++/v1/iosfwd:108:28: note:
template is declared here
class _LIBCPP_TYPE_VIS basic_istream;
^
google/protobuf/message.cc:135:67: error: implicit instantiation of undefined
template 'std::__1::basic_istream<char, std::__1::char_traits<char> >'
return ParsePartialFromZeroCopyStream(&zero_copy_input) && input->eof();
^
/Applications/Xcode5-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolch
ain/usr/bin/../lib/c++/v1/iosfwd:108:28: note:
template is declared here
class _LIBCPP_TYPE_VIS basic_istream;
^
2 warnings and 2 errors generated.
Original comment by jacob.am...@gmail.com
on 26 Jul 2013 at 5:52
[deleted comment]
Solved by: https://code.google.com/p/protobuf/issues/detail?id=455
Basically added #include <istream> to the include list of message.cc in
src/google/protobuff
Original comment by jacob.am...@gmail.com
on 30 Jul 2013 at 5:40
Original issue reported on code.google.com by
jacob.am...@gmail.com
on 26 Jul 2013 at 12:54