-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Fixed anonymous type in anonymous union error in m68k.h #1597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed anonymous type in anonymous union error in m68k.h #1597
Conversation
@emoon please ack |
Any update on this? Thanks :) |
Sorry the notification must have been eaten by some spam filter :( it looks good! |
include/capstone/m68k.h
Outdated
@@ -150,17 +150,20 @@ typedef struct m68k_op_br_disp { | |||
uint8_t disp_size; ///< Size from m68k_op_br_disp_size type above | |||
} m68k_op_br_disp; | |||
|
|||
/// Register pair in one operand. | |||
typedef struct cs_m68k_op_reg_pair { | |||
m68k_reg reg_0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use tabs for indentation, not spaces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've converted into tabs now.
Apple Clang 11.0.0 error: ``` capstone/include/capstone/m68k.h:160:3: error: anonymous types declared in an anonymous union are an extension [-Werror,-Wnested-anon-types] struct { ///< register pair in one operand ^ ```
9bc8f9a
to
7026cee
Compare
merged, thanks! |
Apple Clang 11.0.0 error: ``` capstone/include/capstone/m68k.h:160:3: error: anonymous types declared in an anonymous union are an extension [-Werror,-Wnested-anon-types] struct { ///< register pair in one operand ^ ```
Apple Clang 11.0.0 error: ``` capstone/include/capstone/m68k.h:160:3: error: anonymous types declared in an anonymous union are an extension [-Werror,-Wnested-anon-types] struct { ///< register pair in one operand ^ ```
Apple Clang 11.0.0 error: