lkml.org 
[lkml]   [1999]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: C++ in kernel
    > It isnt the kernel's problem. You can write and run C++ modules with the
    > kernel providing you (as with any other language) link in your own needed
    > runtime support. You can write kernel modules in gnu fortran if you wish.
    >
    >
    theorethically, yes, but, in practice :

    egrep -w class\|private\|public\|protected\|new\|list *

    isdn.h: char *private;
    md.h: void *private;
    skbuff.h: } private;
    pci.h: unsigned int class;
    parport.h: void *private;
    hdlcdrv.h: unsigned char new;
    joystick.h: struct js_list *list;
    list.h: struct list_head *first = list->next;

    the latest conflicts with stl.

    btw, stl works with some minor modifications, compiled a module, was
    happy-

    So, kernel headers, at least, as a minimum, should be compatible.

    about half a year ago I changed the headers I needed to be compatible,
    but, it is a pain to keep it up to date.


    elmer.



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

    \
     
     \ /
      Last update: 2005-03-22 13:49    [W:5.266 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site