DROPS L4Env I/O client API not applicable for C++ programs

Christian Helmuth ch12 at os.inf.tu-dresden.de
Tue Oct 24 10:14:21 CEST 2006


Hi,

On Mon, Oct 23, 2006 at 06:56:01PM +0200, Marcel Winandy wrote:
> I have just encountered a problem with the L4Env I/O client API libio.h if you 
> try to use this in a C++ program. You get a syntax error because there is a 
> variable having the name "class". But that is a C++ keyword.

That's a known issue and I never intended to use libio with C++ code.

> Although these variable names are possible in C, you run in syntax errors when 
> trying to use these API interfaces in a C++ program. I think these variables 
> should get other names, shouldn't they?

If you want to use the API in C++ programs: Yes. I will fix this.

Ciao
-- 
Christian Helmuth

TU Dresden, Dept. of CS
Operating Systems Group
http://os.inf.tu-dresden.de/~ch12




More information about the l4-hackers mailing list