You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
srl100
changed the title
Enums use uint8_t type even if enumerated values will not fit
Enums generate code with uint8_t type even if enumerated values are greater than 255
Apr 4, 2024
When processing a .fidl file with the following content:
package commonapi.examples
I get generated code that includes invalid values for the enumerated type:
A value of 256 will not fit into a uint8_t type!
enum_fidl.txt
enum_test_.hpp.txt
The text was updated successfully, but these errors were encountered: