Re: [PATCH] C++ breaks on linux/ioport.h

From: Manfred Spraul (manfreds@colorfullife.com)
Date: Thu Apr 27 2000 - 12:19:02 EST


Alexander Viro wrote:
>
> <shrug> basically, I couldn't care less for C++ - it has no business
> seeing the internal kernel stuff and that's what __KERNEL__ is for.
>
Why not?

Someone might try to port a device driver that was written in C++ from
another OS to Linux, and then this would be a problem.

We should not use "new" and "virtual" as variable names, and perhaps we
should also add ".o.cpp" to Rules.mak and mkdep.

We don't need to support RTTI or exception handling, but IMHO we should
not deliberately prevent C++ device drivers from compiling.

--
	Manfred

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



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:13 EST