[lkml]   [2000]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Linux kernel modules development in C++

> Hi everybody,
> I want to develop a linux kernel module in C++ but I don't find makefiles
> and/or sorce files examples to do this.
> When I compile the module, the gcc shows a lot of warnings.
> I have tried to use 'extern "C" {}' in my source files, but the result is
> the same one.
> For example:
> extern "C" {
> #include <linux/kernel.h>
> }
> Can you help me?

C++ code is a no go. Kernel is in plain C, not C++. To many issues to deal
with, exception being one of them.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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