I compiled the following c++ program:
int main() { 2==3; }
with:
clang++-5.0 -std=c++17 -Wunused-comparison prog.cpp
and got the warning:
warning: equality comparison result unused [-Wunused-comparison]
2==3;
~^~~
... so, probably this is not the correct way to suppress a warning in CLANG.
In the clang manual, this part is a "TODO".
What is the correct command-line flag to disable a warning?