I want to compile a project with clang, and got some errors like error: [-Werror,-Wpointer-bool-conversion]
- I didn't set -Wpointer-bool-conversion as error, does clang do it by default?
- How to turn off this error, treat it as normal warning, I don't want to break the compiling with this warning.
- If I add -Wno-pointer-bool-conversion, then the error is gone, also the warning, I want to keep the warning.
Any ideas? Thanks