-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Adaptive generated enumeration storage width #7394
Comments
Maybe we can use |
Using Ideally that would just come from the spec or some other data source and feed into ZAP. |
@bzbarsky-apple this is something i would like to explicity use and define in my xml file. casting is not a solution and is prone to runtime problem . what is the policy regarding enum and packed structure |
Problem
Currently the zap generated enumerations doesn't specify the storage width or must have unified storage width.
Proposed Solution
Modify the ZAP generation engine to generate the storage width based on the enumeration values.
The text was updated successfully, but these errors were encountered: