> "Waldemar Kornewald" <Waldemar.Kornewald@xxxxxx> wrote: > > But the code itself is compiled with exceptions. A call to "new" > > might throw > > an exception, but the driver has nothing that could handle this. Why > > are > > exceptions and templates turned off when compiling a driver then? > > Templates are allowed and working in the kernel - they don't rely on > any additional runtime libraries. > But the rest is true, you have to compile your code without exceptions > or RTTI. Therefore, you should use "KernelStaticLibrary" to compile a > static library for use in the kernel. > Just have a look at other Jamfiles or our Jamrules directly, and you'll > find lots of useful information. Thank you. This is what I searched for. I looked through Jamrules once, but it is so huge that I do never want to look in this file again. ;) Waldemar