[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] Introduce module API to QEMU
From: |
M. Warner Losh |
Subject: |
Re: [Qemu-devel] [RFC] Introduce module API to QEMU |
Date: |
Fri, 03 Apr 2009 11:59:52 -0600 (MDT) |
In message: <address@hidden>
malc <address@hidden> writes:
: On Fri, 3 Apr 2009, Anthony Liguori wrote:
:
: > malc wrote:
: > > You are using _identifier_ whose name violates 7.1.3, full stop, you
: > > can not do that in _any_ context.
: > >
: >
: > So then we cannot use __func__ either or __attribute__ by your logic.
:
: a) __func__ is 6.4.2.2#1
:
: b) __attribute__ is exactly the implementation defined keyword that
: 6.5.2 31) i referenced earlier describes, so no you can not use
: that in a portable code and yes you can use it in code that is
: GCC specific and properly guarded
To back this discussion off a notch on the grumpiness scale...
The objection here is that you don't HAVE to use identifiers starting
with __, and using them is dangerous, so why not just remove the __
from the start and get on with your life?
Warner
- [Qemu-devel] [RFC] Introduce module API to QEMU, Anthony Liguori, 2009/04/02
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, malc, 2009/04/02
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Anthony Liguori, 2009/04/02
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, malc, 2009/04/02
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Anthony Liguori, 2009/04/03
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, malc, 2009/04/03
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Anthony Liguori, 2009/04/03
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, malc, 2009/04/03
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU,
M. Warner Losh <=
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, M. Warner Losh, 2009/04/03
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Anthony Liguori, 2009/04/03
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Kevin Wolf, 2009/04/03
- Re: [Qemu-devel] [RFC] Introduce module API to QEMU, malc, 2009/04/03
Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Mark McLoughlin, 2009/04/03
Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Avi Kivity, 2009/04/03
Re: [Qemu-devel] [RFC] Introduce module API to QEMU, Paul Brook, 2009/04/03