git: Stop suppressing -Wuninitialized in userland for WARNS >= 2 and <= 4.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Feb 25 15:09:56 PST 2014


commit dbf753c58e1eb879d613e2d0393bf66dcad381e4
Author: Sascha Wildner <saw at online.de>
Date:   Wed Feb 26 00:03:57 2014 +0100

    Stop suppressing -Wuninitialized in userland for WARNS >= 2 and <= 4.
    
    This is from 2001 (via FreeBSD, who still have it). Since a lot of
    important stuff is in that WARNS range (libc, most prominently) and
    since the option has found some good bugs for us (just see the MFCs
    of recent days), we definitely want it to be enabled. None of the
    issues it reported turned out to be a false positive.
    
    Do, however, turn off -Wmaybe-uninitialized in that WARNS range for
    now.
    
    Also, while here, turn on -Winit-self too.

Summary of changes:
 share/mk/bsd.sys.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/dbf753c58e1eb879d613e2d0393bf66dcad381e4


-- 
DragonFly BSD source repository



More information about the Commits mailing list