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
{{ message }}
Repository navigation
checked-c-convert tool: struct variable containing a checked pointer not initialized #3
I noticed this issue when converting the Icecast code. In the file src/avl/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.
Running clang on the checked-c-convert output will produce the error: error: struct variable 'here' containing a checked pointer must have an initializer
Activity
Machiry commentedon Jul 13, 2019
A part of this issue is fixed by this commit: 51b6167
Fix for the issue: #3
Machiry commentedon Jul 13, 2019
@hasantouma Please pull the branch: https://github.com/plum-umd/checkedc-clang/tree/WIP/IterativeItypeRefinement and test. If the issue is resolved. Please close this issue.
hasantouma commentedon Jul 14, 2019
@Machiry Yes, this commit does fix the initialization issue. I'll close this issue now. Thank you.
Fixing issue: #3, Adding initializer to checked pointers
Fix for the issue: #3