[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#333488: linux-kernel-headers: Include of asm/atomic.h is broken when compiling with g++



On Wed, Oct 12, 2005 at 09:04:55AM +0200, Jerome Vizcaino wrote:
> Package: linux-kernel-headers
> Version: 2.6.13+0rc3-1.1
> Severity: important
> 
> Hi,
> 
> Including asm/atomic.h breaks compilation with g++.
> The simple example below cannot be compiled using g++ 4, 3.4 or 3.3 and
> the error is always the same.
> 
> -- CODE START --
> #include <asm/atomic.h>
> 
> int main()
> {
>  return 0;
> }
> -- CODE END --

Do not do that, then.  This is one of many Linux headers which should
not be used from userspace programs.

-- 
Daniel Jacobowitz
CodeSourcery, LLC



Reply to: