[MacPorts] #63980: qca-qt5 @2.3.4: error: no member named 'rand' in namespace 'std'

MacPorts noreply at macports.org
Wed Nov 17 09:49:23 UTC 2021


#63980: qca-qt5 @2.3.4: error: no member named 'rand' in namespace 'std'
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  RJVB
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:              |   Keywords:
      Port:  qca         |
-------------------------+----------------------

Comment (by chrstphrchvz):

 Missing `#include <cstdlib>` for `std::rand()` (something compilers are
 not always strict about)? https://github.com/macports/macports-
 ports/pull/13010

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


More information about the macports-tickets mailing list