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

MacPorts noreply at macports.org
Wed Nov 17 16:26:13 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 jmroot):

 By the standard, including a C compatibility header (like `stdlib.h`) will
 declare the appropriate names in the global namespace, and //may// declare
 the same names in the std namespace. Fun, huh?

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


More information about the macports-tickets mailing list