Opened 6 years ago

Last modified 21 months ago

#55838 new defect

arabica: error: use of undeclared identifier 'sputc'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: isak@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: arabica

Description

../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.

Change History (1)

comment:1 Changed 21 months ago by aphilippi57 (Alexandre Philippi)

The problem is still there on MacOS Monterey version 12.3.1

Note: See TracTickets for help on using tickets.