Messages in this thread | | | Date | Mon, 5 Jul 1999 13:56:21 -0400 (EDT) | From | "Albert D. Cahalan" <> | Subject | Re: linux headers and C++ |
| |
Jes Sorensen writes:
> There is no reason to even try to compile kernel modules with > C++ since it only makes sense to use the features offered by > a C compiler within the kernel.
Linux already uses more than a C compiler offers. The best answer would be to merge gcc and g++, using a config file to enable the features that Linus approves of. Linux could use "C+" then.
This is a nice g++ feature:
A <? B is the "minimum", returning the smaller of the numeric values A and B.
A >? B is the "maximum", returning the larger of the numeric values A and B.
Those operators need not have sign-related bugs, eliminating the objection to (and need for) global min/max macros.
- 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/
| |