Opened 8 years ago
Last modified 8 years ago
#53249 new defect
wireshark2 +qt5: fails to compile without c++11
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
Attachments (1)
Change History (5)
Changed 8 years ago by mojca (Mojca Miklavec)
comment:1 Changed 8 years ago by mojca (Mojca Miklavec)
Cc: | ghosthound added |
---|---|
Description: | modified (diff) |
comment:2 Changed 8 years ago by ghosthound
Is this new to version 2.2.3 (i.e. did previous versions build)?
comment:3 Changed 8 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 8 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.
Build failure of wireshark2