qemu-e2k/include/qapi
Marc-André Lureau d5cd8fbf13 qlit: Change compound literals to initializers
The QLIT_QFOO() macros expand into compound literals.  Sadly, gcc
doesn't recognizes these as constant expressions (clang does), which
makes the macros useless for initializing objects with static storage
duration.

There is a gcc bug about it:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71713

Change the macros to expand into initializers.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20170825105913.4060-5-marcandre.lureau@redhat.com>
[Commit message improved]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2017-09-04 13:09:11 +02:00
..
qmp qlit: Change compound literals to initializers 2017-09-04 13:09:11 +02:00
clone-visitor.h qapi: New QAPI_CLONE_MEMBERS() 2017-05-09 09:14:40 +02:00
dealloc-visitor.h include: Fix typos found by codespell 2017-01-24 23:26:52 +03:00
error.h Error reporting patches for 2017-07-13 2017-07-14 09:36:40 +01:00
opts-visitor.h opts-visitor: Favor new visit_free() function 2016-07-06 10:52:04 +02:00
qmp-event.h include: Clean up includes 2016-02-23 12:43:05 +00:00
qobject-input-visitor.h qapi: merge QInt and QFloat in QNum 2017-06-20 14:31:31 +02:00
qobject-output-visitor.h qapi: merge QInt and QFloat in QNum 2017-06-20 14:31:31 +02:00
string-input-visitor.h string-input-visitor: Favor new visit_free() function 2016-07-06 10:52:04 +02:00
string-output-visitor.h qapi: Add new visit_complete() function 2016-07-06 10:52:04 +02:00
util.h qapi: New parse_qapi_name() 2017-03-07 16:07:47 +01:00
visitor-impl.h qapi: Use QNull for a more regular visit_type_null() 2017-07-24 13:35:11 +02:00
visitor.h docs: fix broken paths to docs/devel/qapi-code-gen.txt 2017-07-31 13:12:41 +03:00