aboutsummaryrefslogtreecommitdiff
path: root/toys/other/rfkill.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-05-09 17:07:22 -0500
committerRob Landley <rob@landley.net>2015-05-09 17:07:22 -0500
commita913d92bad6550e005a3ffac71a82586042171b5 (patch)
tree00299266702e9c2abb206e17c5bd896f4358955b /toys/other/rfkill.c
parent72cd2e07f1cea190925021472465325e72589f47 (diff)
downloadtoybox-a913d92bad6550e005a3ffac71a82586042171b5.tar.gz
Probe for -Wno-string-plus-int.
LLVM has its own nuts warnings about things that aren't wrong, but disabling them with the relevant -Wno-* warning disabling command line option drives gcc nuts because it's a command line option it doesn't recognize. (gcc 4.2.1 dies with an error. gcc 4.6 warns about it _only_ if it's warning about something else. (PICK ONE, either you warn about this or you don't, distract people from actual problems with noise about something clearly unrelated to what just changed is extra-stupid.) So just probe for it, and add the flag only if it doesn't complain about it while we're producing an unrelated warning.
Diffstat (limited to 'toys/other/rfkill.c')
0 files changed, 0 insertions, 0 deletions