C++ compatible include files
Hi,
I was wondering if there are plans to make the ia64 kernel include files C++ compatible. In particular
the ::: in the embedded assembly in system.h and atomic.h seems to prevent these files,
and the files that include them (e.g. fs.h) from being included in C++ programs.
Thanks,
Ronen Grosman
[email protected]
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line · On Tue, 22 Aug 2000 14:23:53 -0400, [email protected] said:
Ronen> I was wondering if there are plans to make the ia64 kernel Ronen> include files C++ compatible. In particular the ::: in the Ronen> embedded assembly in system.h and atomic.h seems to prevent Ronen> these files, and the files that include them (e.g. fs.h) from Ronen> being included in C++ programs.
Umh, why are you including kernel headers? That's a no-can-do, as Linus has stated repeatedly.
Since the kernel is written in C, there is no point in adding C++ hacks.
--david
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines · David Mosberger
On Tue, 22 Aug 2000 14:23:53 -0400, [email protected] said:
Ronen> I was wondering if there are plans to make the ia64 kernel Ronen> include files C++ compatible. In particular the ::: in the Ronen> embedded assembly in system.h and atomic.h seems to prevent Ronen> these files, and the files that include them (e.g. fs.h) from Ronen> being included in C++ programs.
David> Umh, why are you including kernel headers? That's a David> no-can-do, as Linus has stated repeatedly.
In case that isn't obvious: I was talking about including kernel headers in _applications_. I'm assuming that's what you were trying to do. If not, please explain.
--david
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Ronen" = roneng <[email protected]> writes:
Ronen> Hi,
Ronen> I was wondering if there are plans to make the ia64 kernel Ronen> include files C++ compatible. In particular the ::: in the Ronen> embedded assembly in system.h and atomic.h seems to prevent Ronen> these files, and the files that include them (e.g. fs.h) from Ronen> being included in C++ programs.
That will probably never happen, you shouldn't use the kernel header files directly from user space.
Jes