Opened 14 years ago

Last modified 8 years ago

#27912 assigned defect

gcc46 @4.6-20101218 <thread> library does not compile

Reported by: voorhies@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: gcc46

Description

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'

Change History (4)

comment:1 Changed 14 years ago by voorhies@…

Cc: voorhies@… added

Cc Me!

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: voorhies@… removed
Keywords: gcc g++ c++0x removed
Owner: changed from macports-tickets@… to mww@…

comment:3 Changed 9 years ago by jmroot (Joshua Root)

Is this still a problem with the current version?

comment:4 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from mww@… to macports-tickets@…
Status: newassigned
Note: See TracTickets for help on using tickets.