http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49445

--- Comment #2 from Juan Pedro BolĂ­var Puente <raskolnikov at gnu dot org> 
2011-06-17 09:35:29 UTC ---
Created attachment 24553
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24553
Test case for the "undefined reference" on atom<float> bug

raskolnikov@nexus9:~$ make CXXFLAGS=-std=c++0x test_atom
g++ -std=c++0x    test_atom.cpp   -o test_atom
/tmp/ccS68VP3.o: In function `main':
test_atom.cpp:(.text+0x18): undefined reference to
`std::atomic<float>::operator float() const'
collect2: ld returned 1 exit status
make: *** [test_atom] Error 1

Reply via email to