[MacPorts] #59517: mtxclient: error: no member named 'cerr' in namespace 'std' (was: Cannot install Nheko with Mac Ports)

MacPorts noreply at macports.org
Mon Sep 7 12:32:27 UTC 2020


#59517: mtxclient: error: no member named 'cerr' in namespace 'std'
-------------------------+--------------------------
  Reporter:  BobbyJackT  |      Owner:  scarface-one
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  mtxclient   |
-------------------------+--------------------------

Comment (by ryandesign):

 Replying to [comment:3 mf2k]:
 > Your log file is garbled for some reason.

 Not garbled, the build system just inadvisedly decided to output ANSI
 color codes. Stripping those out, the error is:

 {{{
 mtxclient-2f519d2/include/mtxclient/http/session.hpp:67:30: error: no
 member named 'cerr' in namespace 'std'
                         std::cerr << ec.message() << "\n";
                         ~~~~~^
 mtxclient-2f519d2/lib/http/session.cpp:61:22: error: no member named
 'cout' in namespace 'std'
                 std::cout << "shutdown: " << ec.message() << std::endl;
                 ~~~~~^
 2 errors generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/59517#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list