[MacPorts] #53249: wireshark2 +qt5: fails to compile without c++11

MacPorts noreply at macports.org
Sun Jan 8 10:09:07 UTC 2017


#53249: wireshark2 +qt5: fails to compile without c++11
--------------------+------------------------------
 Reporter:  mojca   |      Owner:  opendarwin.org@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  wireshark2
--------------------+------------------------------
 I didn't have enough time to investigate the problem in detail.

 The build fails on 10.7/libstdc++ with
 {{{
 /opt/local/libexec/qt5/lib/QtCore.framework/Headers/qstring.h:756:55:
 error: no type named 'u16string' in namespace 'std'
     static inline QString fromStdU16String(const std::u16string &s);
                                                  ~~~~~^
 }}}

 I suspect that's because of C++11:
 {{{
 CXX-Flags:  -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security
 -fwrapv -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers
 -Wno-overlength-strings -Wno-long-long -Qunused-arguments -pipe -Os
 -stdlib=libstdc++ -std=c++11
 }}}

 (I also suspect that the maintainer is no longer reachable.)

--
Ticket URL: <https://trac.macports.org/ticket/53249>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list