We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With v8.3.11, lv_table_cell_t has zero-sized array member (char txt[]).
On VisualStudio, the following warning message occurs frequently whenever sources that includes lv_table.h are built. https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-levels-2-and-4-c4200?view=msvc-170
How can this problem be solved?
txt[] appears to be for interpreting binary as variable length data by casting it.
I think it should be defined as txt[1] as a dummy or suppressed with #pragma or compile options.
The text was updated successfully, but these errors were encountered:
Hi,
Thank you for reporting it. In v9 it's already char txt[1] so it should work in v8 too.
char txt[1]
If you have time, pleas send a PR.
Sorry, something went wrong.
We need some feedback on this issue.
Now we mark this as "stale" because there was no activity here for 14 days.
Remove the "stale" label or comment else this will be closed in 7 days.
No branches or pull requests
Introduce the problem
With v8.3.11, lv_table_cell_t has zero-sized array member (char txt[]).
On VisualStudio, the following warning message occurs frequently whenever sources that includes lv_table.h are built.
https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-levels-2-and-4-c4200?view=msvc-170
How can this problem be solved?
Proposal
txt[] appears to be for interpreting binary as variable length data by casting it.
I think it should be defined as txt[1] as a dummy or suppressed with #pragma or compile options.
The text was updated successfully, but these errors were encountered: