[MacPorts] #57735: Gate: fatal error: 'string_view' file not found

MacPorts noreply at macports.org
Fri Dec 7 01:42:15 UTC 2018


#57735: Gate: fatal error: 'string_view' file not found
---------------------+----------------------
  Reporter:  mojca   |      Owner:  mojca
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  gate    |
---------------------+----------------------

Comment (by kencu):

 I think that other {{{-std=c++11}}} is getting in there from this config
 call:
 {{{
 $ /opt/local/libexec/Geant4/Geant4.10.4/geant4-config --cflags
 -DG4VIS_USE_OPENGL -DG4UI_USE_TCSH -DG4INTY_USE_QT -DG4UI_USE_QT
 -DG4VIS_USE_OPENGLQT -I/opt/local/libexec/qt4/include/QtCore
 -I/opt/local/libexec/qt4/include/QtGui
 -I/opt/local/libexec/qt4/include/QtOpenGL -pipe -Os -stdlib=libc++ -W
 -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings
 -Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -pipe
 -Qunused-arguments -stdlib=libc++ -DG4USE_STD11 -std=c++11
 -I/opt/local/include/Geant4/Geant4.10.4/Geant4
 }}}
 at this moment I'm not sure how you can get that out of there -- although
 it seems to work if there a previous -std=c++17 in the build line anyway.

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


More information about the macports-tickets mailing list