RE: Linux kernel modules development in C++

From: Abel Munoz Alcaraz (abel@trymedia.com)
Date: Thu Sep 28 2000 - 07:20:15 EST


Yes, Alan,

I don't use exceptions, primarily because W9x (and some other OS) doesn't
support it.
But I must support new/delete operators for dynamic memory allocation.
I have rewritten the operators but it don't compile fine.

Have you ideas?

-Abel.

-----Original Message-----
From: Alan Cox [mailto:alan@lxorguk.ukuu.org.uk]
Sent: miercoles, 27 de septiembre de 2000 23:01
To: Abel Munoz Alcaraz
Cc: Linux Kernel
Subject: Re: Linux kernel modules development in C++

> I have written the Windows platform version in C++ using Numega's tools
> encapsulating the driver code in classes.
> More of this classes isn't OS specific and it work well in any OS.

And do you rely on any exception throwing ?

If you use no exceptions (including thus using new and other constructors
that
allocate) you should be ok.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:22 EST