Way to check for C89 conformance?

Part of my codebase is in C89 (for maximum portability).
Is there a way to have Sonarqube help me enforce this? For example, when somebody declares a bool in C code (C99), or uses alignof() (which is C11).

For C++, I can use sonar.cfamily.reportingCppStandardOverride to force e.g. C++14.
Is there an equivalent for C?

Using Sonarqube (docker), Developer Edition, 9.9


Sorry, but that’s just not an area we’ve worked on.



Thanks for the info, Ann :+1:

(I also wish I could work with more modern programming languages :laughing:)

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.