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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to