News for hackers. Stuff that matters.
Re:Apple's SSL/TLS bug by oneeyedpigeon on Saturday February 22, 2014 @10:29AM (#7282312)
The real WTF is those Warn flags, then. In what sane world does "extra" mean more than "all", and "all" and "everything" mean different things?
Re:Apple's SSL/TLS bug by acdha on Saturday February 22, 2014 @11:04AM (#7282430)
Excessive fear of backwards compatibility: you make -Wall. People use it. You add a new check which will reject some shoddy code. “What if people complain that their project no longer builds with -Wall? Let's add a new setting…”. Repeat…

I've been wondering how hard it would be to get to the point where the defaults are rigorous and developers have to opt out with specific -Wno-… options.

Re:Apple's SSL/TLS bug by Agathos on Saturday February 22, 2014 @12:01PM (#7282640)
"-Wall" actually means, "all warnings, as of the date we froze the definition of -Wall, which for all you know was 20 years ago, good luck."
Re:Apple's SSL/TLS bug by praseodym on Saturday February 22, 2014 @11:00AM (#7282415)
Apple introduced -Weverything because suddenly changing the scope of gcc's -Wall (which indeed does not include everything) would break a lot of builds.
Re:Apple's SSL/TLS bug by bentcorner on Saturday February 22, 2014 @11:44AM (#7282583)
Is "-Weverything" inclusive of new warnings? Because they're just kicking the can if not. What's next, "-Wreallyeverything"?
Re:Apple's SSL/TLS bug by e28eta on Saturday February 22, 2014 @12:06PM (#7282655)
Yep. Even ones that may not be fully baked, so some people caution against it.

We have it turned on, and about 10 warnings specifically disabled because they were too noisy or not useful for us. It's always interesting upgrading Xcode and seeing what new warnings we get to fix.

Re:Apple's SSL/TLS bug by pjene on Saturday February 22, 2014 @11:41AM (#7282577)
"suddenly" is a funny way to say "over a span of years"....
Re:Apple's SSL/TLS bug by TwoBit on Saturday February 22, 2014 @03:15PM (#7283413)
Microsoft VC++ has a -Wall warning level too, and it really does mean all warnings. Each major version of VC++ potentially introduces new warnings to -Wall.