[MacPorts] #55838: arabica: error: use of undeclared identifier 'sputc'

MacPorts noreply at macports.org
Fri Feb 16 18:57:24 UTC 2018


#55838: arabica: error: use of undeclared identifier 'sputc'
------------------------+---------------------
 Reporter:  ryandesign  |      Owner:  isak@…
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  arabica
------------------------+---------------------
 {{{
 ../include/io/socket_stream.hpp:212:3: error: use of undeclared identifier
 'sputc'
   sputc(traitsT::to_char_type(c));
   ^
   this->
 ../include/io/socket_stream.hpp:63:5: note: in instantiation of member
 function 'Arabica::io::basic_socketbuf<char, std::__1::char_traits<char>
 >::overflow' requested here
     basic_socketbuf();
     ^
 ../include/io/socket_stream.hpp:340:7: note: in instantiation of member
 function 'Arabica::io::basic_socketbuf<char, std::__1::char_traits<char>
 >::basic_socketbuf' requested here
 class socketstreambuf_init
       ^
 SAX/helpers/InputSourceResolver.cpp:126:42: note: in instantiation of
 member function 'Arabica::io::basic_socketstream<char,
 std::__1::char_traits<char> >::basic_socketstream' requested here
     Arabica::io::socketstream* ifs = new
 Arabica::io::socketstream(url.host().c_str(),
 std::atoi(url.port().c_str()));
                                          ^
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/streambuf:159:14:
 note: must qualify identifier to find this declaration in dependent base
 class
     int_type sputc(char_type __c);
              ^
 1 error generated.
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/55838>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list