Opened 7 years ago

Last modified 7 years ago

#53249 new defect

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

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

Description (last modified by mojca (Mojca Miklavec))

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

Change History (2)

Changed 7 years ago by mojca (Mojca Miklavec)

Attachment: main.log added

Build failure of wireshark2

comment:1 Changed 7 years ago by mojca (Mojca Miklavec)

Cc: ghosthound added
Description: modified (diff)
Note: See TracTickets for help on using tickets.