[lkml]   [2005]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: PROBLEM: please remove reserved word "new" from kernel headers
    On 7/6/05, 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.
    "new" is not a reserved word in C. the kernel is written in C.

    > [2.] Full description of the problem/report:
    > When kernel headers are included in compilation of c++
    > programs the compile fails because some header files
    > use "new" in a way that is illegal for c++.

    Userspace programs should not include kernel headers directly.

    But, if you really want it changed I suggest you create a patch and
    submit that for review/inclusion and see what feedback you get.

    Jesper Juhl <>
    Don't top-post
    Plain text mails only, please
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-07-06 19:36    [W:0.034 / U:0.436 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site