[MacPorts] #58211: qt56-qtbase @5.6.3_6 on Lion: error: no type named 'u16string' in namespace 'std'
MacPorts
noreply at macports.org
Wed Mar 20 01:04:03 UTC 2019
#58211: qt56-qtbase @5.6.3_6 on Lion: error: no type named 'u16string' in namespace
'std'
--------------------------+---------------------------------
Reporter: kencu | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: lion
Port: qt56-qtbase |
--------------------------+---------------------------------
Comment (by kencu):
This little test:
{{{
#include<iostream>
#include<string>
int main ()
{
char16_t x[] = { 'a', 'b', 'c', 0 };
std::u16string arr = x;
std::cout << "arr.length = " << arr.length() << std::endl;
for(auto i : arr)
std::cout << i << "\n";
}
}}}
seems to compile with no troubles with these build lines, so ... ?
{{{
clang++ -std=c++11 -stdlib=macports-libstdc++ -c test.cpp
clang++ -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0 -stdlib=macports-libstdc++
-c test.cpp
clang++ -std=c++1z -D_GLIBCXX_USE_CXX11_ABI=0 -stdlib=macports-libstdc++
-c test.cpp
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58211#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list