mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-25 08:45:27 +00:00
b462c3929f
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. Backports commit d5cd8fbf130312bea91823c41de87d55818d599b from qemu |
||
---|---|---|
.. | ||
qbool.h | ||
qdict.h | ||
qerror.h | ||
qjson.h | ||
qlist.h | ||
qlit.h | ||
qnum.h | ||
qobject.h | ||
qstring.h |