我正试图在Linux上编写一些软件,在我的Mac上使用一些漂亮的新C++0x功能。我使用MacPorts安装了gcc45包,它给了我/opt/local/bin/g++-mp-4.5,但是这个编译器不想在<thread>中编译任何东西。我试着编译:#include <thread>
{return 0;并得到:test.cpp: In function 'int
我在64位Redhat enterprise 3机器(2.4.21-20.ELsmp,glibc 2.3.2)上编译了gcc 4.5.2。它编译正常,但带有许多警告消息,如/tmp/ccbGRF5F.s:29: Warning: rest of line ignored; first ignored character is `d'/tmp