Skip to content
Commit b2cc0730 authored by Igor Kushnir's avatar Igor Kushnir
Browse files

Don't pass -Wlogical-op argument to libclang

KDevelop built against current Clang git main version prints the
following warning each time a KDE C++ file is parsed:
warning: unknown warning option '-Wlogical-op'; did you mean '-Wlong-long'? [-Wunknown-warning-option]

That's because KDECompilerSettings passes to gcc and KDevelop forwards
to libclang the -Wlogical-op command-line argument not supported by
Clang.

KDevelop built against my system Clang 14.0.6 does not print this
warning. Perhaps the verbosity level of runtime warnings is different in
these two Clang versions.
parent bc958621
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment