riscv / configuration-structure

RISC-V Configuration Structure
https://jira.riscv.org/browse/RVG-50
Creative Commons Attribution 4.0 International
36 stars 16 forks source link

Empty configuration structure entry causes compiler error #18

Closed changab closed 3 years ago

changab commented 3 years ago

For example in scheman.json5, quick_access_command doesn't have any descriptions as below, quick_access_command: { // There are no options. If the option exists, then the feature is implemented. }, That generates an empty entry in schema.c with an unknown size compiler error on Visual Studio C.

What is the purpose of an empty configuration structure defined in shcema?

timsifive commented 3 years ago

I don't see the compiler error you're reporting, but I agree that there is no point to this. I'll just change the type to a Boolean.