
13 Jan
2009
13 Jan
'09
6:05 p.m.
Sid Sacek wrote:
Does anybody know if it's possible to use boost within a Linux driver?
First you'd have to use C++ in a Linux driver, which is tricky all by itself. Humm, I'd say, all in all, no. You definitely don't have unwinding in kernel mode. This means you must disable exceptions. But the exception replacement system in Boost calls abort(), I believe, and I don't think this call links in kernel objects. (I don't want to know what it would do.) Sebastian