Re: [Linux-ia64] C++ doesn't like asm/atomic.h

From: David Mosberger <>
Date: 2002-04-09 03:26:23
>>>>> On Mon, 8 Apr 2002 09:00:42 -0700, Gary Hade <> said:

  Gary> Would it be okay in the Linux world for an application written
  Gary> in C++ to use a system call such as query_module(2)?

Of course.

  Gary> If so,
  Gary> the application code would include <linux/module.h>.
  Gary> <linux/module.h> includes <asm/atomic.h> on a line which is
  Gary> not within an #ifdef __KERNEL__ region so the same C++ compile
  Gary> failure will occur.

No, glibc needs to provide its own headers for this purpose.

Received on Mon Apr 08 10:29:36 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:08 EST