From Fedora Project Wiki

< Toolchain‎ | PortingToModernC

Revision as of 11:21, 12 January 2023 by Fweimer (talk | contribs) (Handling false positives)

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.

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.