[–] addaon 6mo ago ↗ "The -Wsign-compare warning is old and it’s not enabled by default or even by the “warn about everything” -Wall option."The "warn about everything" option is -Weverything, which /does/ enable -Wsign-compare. [–] welfareleech 6mo ago ↗ Only with Clang. With GCC, -Wextra implicitly enables -Wsign-compare (with G++ -Wall implicitly enables it instead).
[–] welfareleech 6mo ago ↗ Only with Clang. With GCC, -Wextra implicitly enables -Wsign-compare (with G++ -Wall implicitly enables it instead).
2 comments
[ 4.2 ms ] story [ 17.5 ms ] threadThe "warn about everything" option is -Weverything, which /does/ enable -Wsign-compare.