[PATCH] D18460: Add <atomic> to ThreadPool.h, since std::atomic is used
Dimitry Andric via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 24 13:39:31 PDT 2016
dim created this revision.
dim added reviewers: joker.eph, chandlerc.
dim added subscribers: llvm-commits, bdrewery.
Apparently, when compiling with gcc 5.3.2 for powerpc64, the order of
headers is such that it gets an error about std::atomic<> use in
ThreadPool.h, since this header is not included explicitly. See also:
Fix this by including <atomic>. Patch by Bryan Drewery.
@@ -33,6 +33,7 @@
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 327 bytes
Desc: not available
More information about the llvm-commits