Opened 8 years ago

Last modified 8 years ago

#53249 new defect

wireshark2 +qt5: fails to compile without c++11 — at Initial Version

Reported by: mojca (Mojca Miklavec) Owned by: opendarwin.org@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: wireshark2

Description

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.)

Change History (1)

Changed 8 years ago by mojca (Mojca Miklavec)

Attachment: main.log added

Build failure of wireshark2

Note: See TracTickets for help on using tickets.