qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 02/10] object: qom module support


From: Gerd Hoffmann
Subject: Re: [PATCH v5 02/10] object: qom module support
Date: Wed, 22 Jul 2020 13:07:28 +0200

> > +ObjectClass *module_object_class_by_name(const char *typename)
> 
> Re-reading this, it occurred to me that typename is a keyword in C++.
> 
> I don't know if we want to make it a rule to not use C++ keywords just in
> case we would some day compile that code with a C++ compiler.

If we want do this we have to touch lots of places anyway, using
typename as variable is pretty common in qom code ...

take care,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]