-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-Wsign-conversion is redundant #76
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cmake_template/cmake/CompilerWarnings.cmake
Line 54 in d19d892
According to Clang diagnostics (https://clang.llvm.org/docs/DiagnosticsReference.html#wconversion),
-Wconversion
controls-Wsign-conversion
. This is the same as GCC (https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wsign-conversion), although this only applies to the${CLANG_WARNINGS}
section.I haven't tried removing
-Wsign-conversion
and seeing if it still catches it, but perhaps someone else can to verify this behavior. Per the spec, it should be a redundant flag.The text was updated successfully, but these errors were encountered: