git: bmake(1): lower WARNS from 4 to 2

John Marino marino at crater.dragonflybsd.org
Tue Mar 24 05:43:55 PDT 2015


commit d3a377e3d65608508b2acf2683f0bab912d56dce
Author: John Marino <draco at marino.st>
Date:   Tue Mar 24 13:41:41 2015 +0100

    bmake(1): lower WARNS from 4 to 2
    
    The latest bmake will not build with gcc50 with WARNS of 4:
    --- main.o ---
    /usr/src/usr.bin/bmake/../../contrib/bmake/main.c: In function 'Cmd_Exec':
    /usr/src/usr.bin/bmake/../../contrib/bmake/main.c:1527:10: error: variable
     'savederr' might be clobbered by 'longjmp' or 'vfork' [-Werror=clobbered]
         int  savederr; /* saved errno */

Summary of changes:
 usr.bin/bmake/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list