[llvm-commits] [llvm] r72174 - in /llvm/trunk: include/llvm/System/Atomic.h lib/System/Atomic.cpp

Mike Stump mrs at apple.com
Wed May 20 11:34:22 PDT 2009


On May 20, 2009, at 11:26 AM, Owen Anderson wrote:
> Author: resistor
> Date: Wed May 20 13:26:15 2009
> New Revision: 72174
>
> URL: http://llvm.org/viewvc/llvm-project?rev=72174&view=rev
> Log:
> Move atomic operations' definitions out of line.  While this seems  
> kind of silly,
> all kinds of problems caused by including windows.h and/or config.h  
> in an LLVM header.
>
> Added:
>    llvm/trunk/lib/System/Atomic.cpp
> Modified:
>    llvm/trunk/include/llvm/System/Atomic.h

Atomic.cpp: In function 'llvm::sys::cas_flag llvm::sys::CompareAndSwap 
(volatile llvm::sys::cas_flag*, llvm::sys::cas_flag,  
llvm::sys::cas_flag)':
Atomic.cpp:41: error: 'T' was not declared in this scope

?



More information about the llvm-commits mailing list