mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-25 11:27:00 +00:00
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 |
||
---|---|---|
.. | ||
qmp | ||
clone-visitor.h | ||
dealloc-visitor.h | ||
error.h | ||
qobject-input-visitor.h | ||
qobject-output-visitor.h | ||
string-input-visitor.h | ||
visitor-impl.h | ||
visitor.h |