Hi, I get "undefined reference to `std::atomic<Foo*>::store(Foo*, std::memory_order) volatile'" error, and am wondering if the definition of atomic<_Tp*>::store is missing.
My version is: gcc version 4.4.0 20090514 (Red Hat 4.4.0-6) (GCC) I see no definition in the header file, cstdatomic. Also, compare_swap is not declared. Instead, compare_exchange_weak(strong) exist. It is not a bug, but is not consistent with the document. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2427.html Thanks, Takenori -- Summary: Missing atomic<_Tp*>::store definition Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: takenori dot sato at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45398