[MacPorts] #27912: gcc46 @4.6-20101218 <thread> library does not compile
MacPorts
noreply at macports.org
Sun Jan 9 21:28:23 PST 2011
#27912: gcc46 @4.6-20101218 <thread> library does not compile
------------------------------+---------------------------------------------
Reporter: voorhies@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: gcc g++ c++0x | Port: gcc46
------------------------------+---------------------------------------------
Compiling the following c++ file:
{{{
#include <thread>
int main()
{
std::thread x;
return 0;
};
}}}
with {{{g++ test.cpp --std=c++0x}}} yields the following error:
{{{
test.cpp: In function 'int main()':
test.cpp:5:3: error: 'thread' is not a member of 'std'
test.cpp:5:15: error: expected ';' before 'x'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/27912>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list