git: gcc47: Prevent -Wswitch-bool noise.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sun Sep 25 22:56:34 PDT 2016


commit 92076dcf42c6eeaf59c888ab82a330ca4ddcb3f7
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sun Sep 25 16:00:29 2016 +0300

    gcc47: Prevent -Wswitch-bool noise.
    
    In gcc v5 and later -Wswitch-bool is default and creates a lot of
    warnings when building gcc v4.7 with gcc v5 compiler.
    Since backporting patches to generate "compatible" gcc private headers
    would be very error-prune, just take lkml.org/2015/5/27/941 approach.
    At this point we only need to catch real issues for backup compiler.

Summary of changes:
 gnu/usr.bin/cc47/Makefile.inc | 5 +++++
 1 file changed, 5 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/92076dcf42c6eeaf59c888ab82a330ca4ddcb3f7


-- 
DragonFly BSD source repository



More information about the Commits mailing list