Я проверил свою программу с помощью cppcheck с помощью следующей команды.
cppcheck --enable=all --inconclusive --xml-version=2 --output-file=getopt.c.txt -v getopt.c
Это дает мне некоторые ошибки ConfigurationNotChecked. Я искал в Интернете, но не знаю, что это значит. Некоторые ошибки ниже.
<error id="ConfigurationNotChecked" severity="information" msg="Skipping configuration '__STDC__=0;const' since the value of 'const' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly." verbose="Skipping configuration '__STDC__=0;const' since the value of 'const' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.">
<location file="getopt.c" line="194" column="0"/>
</error>
<error id="ConfigurationNotChecked" severity="information" msg="Skipping configuration '__STDC__=0;const' since the value of 'const' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly." verbose="Skipping configuration '__STDC__=0;const' since the value of 'const' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.">
<location file="getopt.c" line="208" column="0"/>
</error>
<error id="ConfigurationNotChecked" severity="information" msg="Skipping configuration '__STDC__=0;const' since the value of 'const' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly." verbose="Skipping configuration '__STDC__=0;const' since the value of 'const' is unknown. Use -D if you want to check it. You can use -U to skip it explicitly.">
<location file="getopt.c" line="317" column="0"/>
</error>
Он говорит, используйте -D, чтобы проверить это. Как я могу использовать его с моей командой, которую я написал выше. Я хочу получить информацию о том, что это за ошибка. Также моя команда cppcheck выдает мне все возможные ошибки, которые она может найти, или я упускаю какой-то аргумент.