But I'd postpone this change until we merge with bitcoin.
The flag -Wno-sign-compare reverts clang warning to the same level it was previously. I guess, they basically added -Wsign-compare in the -Wextra group.
$ /Library/Developer/CommandLineTools/usr/bin/clang++ --version
Apple LLVM version 10.0.1 (clang-1001.0.46.3)
Target: x86_64-apple-darwin18.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
After upgrading Apples' developer tools, clang starts producing warnings in thousands of places, like:
This code could be adjusted in the way:
But I'd postpone this change until we merge with bitcoin.
The flag
-Wno-sign-compare
reverts clang warning to the same level it was previously. I guess, they basically added-Wsign-compare
in the-Wextra
group.To enable this flag you have to run ./autogen.sh