Hi all!
I try to write device driver that support several ISA-adapters and the same
high-level protocol.
All of that HW stuff have to perform a same operations.
In WinNT I've solve this problem by using the base class with virtual
functions that are implement that operations.
The attempt to apply this approach in Linux loadable module leads to errors
when loading it.
The message that "__rtti_user and __rtti_si " not found appears.
g++ RTTI cannt be disabled by command line keys (may be I am wrong, at least
I cant find in man) like it can be made in BC++, VC++, Watcom C++.
The questions are "Can the Linux kernel mode loadable modules execute code
that uses classes with virtual functions?"
or "How can I disable RTTI?"
PS.
My questions is beyond of discussion of C++ usage in kernel mode drivers
:-).
Andrey.