Procedures for Modern C Porting
Choosing packages to work on
Clone the fedora-modernc-logs repository and pick a log file to work on at random:
git ls-files logs | sort -R | head -n1
At present, there are so many packages left that this is not likely to create a collision and duplicated work.
Recording work
- Delete the log file in the fedora-modernc-logs repository.
- Add a markdown documentation file to the fedora-modernc repository. Include the Fedora bug if applicable. Always include a link to the Fedora dist-git commit. Please add link titles to external links.
Handling false positives
It is important to record exceptions so that further mass-prebuilds with the instrumented compilers do not show the same set of known false positives.
- Add an exception for an undeclared function to report-gcc-errors.lua.
- Delete the log file in the fedora-modernc-logs repository, noting this is a false positive. No updated to the fedora-modernc repository is required.
There is currently no way to record exceptions for implicit ints, only for implicit function declarations. The instrumented GCC compiler contains changes that avoid spurious implicit int diagnostics for common erroneous constructs.