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

From: Schneelocke
Date: Wed Jul 06 2005 - 21:53:45 EST


On 06/07/05, Rob Prowel <tempest766@xxxxxxxxx> wrote:
> 2.4 and 2.6 kernel headers use c++ reserved word "new"
> as identifier in function prototypes.
> [...]
> While not an error, per se, it is kind of sloppy and
> it is amazing that it hasn't shown up before now.
> using the identifier "new" in kernel headers that are
> visible to applications programs is a bad idea.

This has been discussed before: see
http://marc.theaimsgroup.com/?l=linux-kernel&m=111637766131104&w=2 and
the ensuing thread.

--
schnee
-
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/