This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
qemu
Watch
0
Star
0
Fork
0
You've already forked qemu
mirror of
https://github.com/qemu/qemu.git
synced
2024-11-26 12:23:36 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
28770e057f
qemu
/
tests
/
qapi-schema
/
union-bad-branch.err
2 lines
91 B
Plaintext
Raw
Normal View
History
Unescape
Escape
qapi: Tighten checking of unions Previous commits demonstrated that the generator had several flaws with less-than-perfect unions: - a simple union that listed the same branch twice (or two variant names that map to the same C enumerator, including the implicit MAX sentinel) ended up generating invalid C code - an anonymous union that listed two branches with the same qtype ended up generating invalid C code - the generator crashed on anonymous union attempts to use an array type - the generator was silently ignoring a base type for anonymous unions - the generator allowed unknown types or nested anonymous unions as a branch in an anonymous union Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-05-04 23:05:08 +08:00
tests/qapi-schema/union-bad-branch.json:6: Union 'MyUnion' member 'ONE' clashes with 'one'
Reference in New Issue
Copy Permalink