Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
a_t48
· 4mo ago · 0 comments
I believe there's ways to configure clang to flag dangerous implicit casts as well.
Comments
[–]
Groxx
4mo ago
-Wconversion perhaps:
https://clang.llvm.org/docs/DiagnosticsReference.html#wconve...
or -Wimplicit-int-conversion for the main check I've built in other languages (afaict, I have not used C(++) professionally)