Remove -fwarn- and -fno-warn- from flagsForCompletion
Testcase: Fix linter error on T12099
For Issue Trac #12099
I've updated this to set them all as hidden flags. There are still a few problems
./inplace/bin/ghc-stage2 -fwarn- ghc-stage2: unrecognised flag: -fwarn- did you mean one of: -fwarn- -Wwarn
Okay, so it looks to me like -W by itself DOES something (please correct me if I'm reading this wrong). If I go to line ~2788, I see this:
, make_ord_flag defFlag "W" (NoArg (mapM_ setWarningFlag minusWOpts))
Which appears to be turning on all minusWOpts. However, I'm going to leave it the way it is right now, since it returns -W only once (before it listed it twice).
This patch looks weird now (arc/phab issue).
Can you run something like arc diff HEAD^^^ --update D2281.
The number of '^' you use signals the number of commits you want to include in this Diff.
It still suggests -fwarn- and -fno-warn-.
Are you still trying to fix this, or is this patch ready to go?
That was 100% my fault. I didn't know what I was doing. A few notes:
Please let me know if I need to make any more changes.