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
I noticed this issue when converting the Icecast code. In the file src/thread/avl.c and various others.
The C compiler doesn't complain when a struct variable is not initialized, but the Checked C compiler does. The checked-c-convert tool doesn't give an warnings that an initialized struct variable was seen.
I noticed this issue when converting the Icecast code. In the file
src/thread/avl.c
and various others.The C compiler doesn't complain when a struct variable is not initialized, but the Checked C compiler does. The
checked-c-convert
tool doesn't give an warnings that an initialized struct variable was seen.I created a small example for reference:
Original C code:
checked-c-convert
output:The
checked-c-convert
output will produce the error:error: struct variable 'here' containing a checked pointer must have an initializer
The text was updated successfully, but these errors were encountered: