News for hackers. Stuff that matters.
Re:Cleaning up X server warnings by sophacles on Sunday December 15, 2013 @11:35AM (#6909888)
The notion of warnings is not that it the behavior is broken, or even wrong, but rather dangerous. A good solution would be to include a pragma or such that that would allow programmers to say "I recognize this is dangerous, but it is correct".

Even better would be a pragma that allows you to say the above, and also point to a test/test_suit that verifies that the specific case is still working right and warns on "something has changed, test foo no longer holds, here's the associated warning as a hint".

Re:Cleaning up X server warnings by raverbashing on Sunday December 15, 2013 @11:39AM (#6909898)
Well, some warnings are valid, but yeah, the "I recognize this is dangerous, but it is correct" makes perfect sense.