Always treat -Wreserved-identifier as a warning with Clang.

This commit is contained in:
Roman Telezhynskyi 2023-02-16 21:45:32 +02:00
parent 0948a58b17
commit a386017f29

View File

@ -579,6 +579,7 @@ Module {
if (Utilities.versionCompare(cpp.compilerVersion, "13") >= 0) { if (Utilities.versionCompare(cpp.compilerVersion, "13") >= 0) {
debugFlags.push( debugFlags.push(
"-Wreserved-identifier", "-Wreserved-identifier",
"-Wno-error=reserved-identifier",
"-Wunused-but-set-parameter", "-Wunused-but-set-parameter",
"-Wunused-but-set-variable" "-Wunused-but-set-variable"
) )