Re: PROBLEM: please remove reserved word "new" from kernel headers

From: Michal Schmidt
Date: Wed Jul 06 2005 - 22:52:50 EST


Rob Prowel wrote:
[1.] One line summary of the problem:

2.4 and 2.6 kernel headers use c++ reserved word "new"
as identifier in function prototypes.

Yes, the kernel is written in C, not C++.

using the identifier "new" in kernel headers that are
visible to applications programs is a bad idea.

Programs are not supposed to include kernel headers.
This is a FAQ, see the archives.

Michal
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/