Opened 6 years ago

Last modified 6 years ago

#53249 new defect

wireshark2 +qt5: fails to compile without c++11

Reported by: mojca (Mojca Miklavec) Owned by:…
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

Attachments (1)

main.log (4.3 MB) - added by mojca (Mojca Miklavec) 6 years ago.
Build failure of wireshark2

Change History (5)

Changed 6 years ago by mojca (Mojca Miklavec)

Attachment: main.log added

Build failure of wireshark2

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

Cc: ghosthound added
Description: modified (diff)

comment:2 Changed 6 years ago by ghosthound

Is this new to version 2.2.3 (i.e. did previous versions build)?

comment:3 Changed 6 years ago by mojca (Mojca Miklavec)

I haven't tested the builds for a very long time, but I can try to roll back and let you know.

comment:4 Changed 6 years ago by mojca (Mojca Miklavec)

Version 2.2.2 built against Qt 5 has the same problem.

Note: See TracTickets for help on using tickets.