git: gcc47: Suppress last codegen warning.

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


commit 6496ec5cf27c0e8a2cf51a861379f97b39eed5c2
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sun Sep 25 17:19:48 2016 +0300

    gcc47: Suppress last codegen warning.
    
    Turns out gcc(compilation as C) differentiates when initializing global variables that
    are declared 'extern' on the same line (removal of extern attribute is ok, includes
    c-common.h header that properly marks c_family_lang_mask global variable as extern).
    
    Note: do not apply same change to gcc50 since it is compiled as C++ that is not affected.

Summary of changes:
 contrib/gcc-4.7/gcc/c-family/c-opts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6496ec5cf27c0e8a2cf51a861379f97b39eed5c2


-- 
DragonFly BSD source repository



More information about the Commits mailing list