1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>C++</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Unreliable Guide To Hacking The Linux Kernel"><link rel="up" href="conventions.html" title="Chapter 10. Routines and Conventions"><link rel="prev" href="conventions-gnu-extns.html" title="GNU Extensions"><link rel="next" href="conventions-ifdef.html" title="#if"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">C++</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="conventions-gnu-extns.html">Prev</a> </td><th width="60%" align="center">Chapter 10. Routines and Conventions</th><td width="20%" align="right"> <a accesskey="n" href="conventions-ifdef.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="conventions-cplusplus"></a>C++</h2></div></div></div><p> 2 Using C++ in the kernel is usually a bad idea, because the 3 kernel does not provide the necessary runtime environment 4 and the include files are not tested for it. It is still 5 possible, but not recommended. If you really want to do 6 this, forget about exceptions at least. 7 </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="conventions-gnu-extns.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="conventions.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="conventions-ifdef.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">GNU Extensions </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> #if</td></tr></table></div></body></html> 8