[coreboot-gerrit] New patch to review for coreboot: cbfstool: Build with -Wno-error=implicit-function-declaration

Nico Huber (nico.h@gmx.de) gerrit at coreboot.org
Fri Sep 18 10:34:49 CET 2015


Nico Huber (nico.h at gmx.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11682

-gerrit

commit 10c429cd50d603d2138f2b110891ec14e4078a07
Author: Nico Huber <nico.huber at secunet.com>
Date:   Fri Sep 18 12:28:34 2015 +0200

    cbfstool: Build with -Wno-error=implicit-function-declaration
    
    I don't like it but some versions of yacc/bison just don't declare
    yyparse().
    
    Change-Id: Idaf4236fa107c6f809c6d0b15eb62e4c090fde09
    Signed-off-by: Nico Huber <nico.huber at secunet.com>
---
 util/cbfstool/Makefile.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/util/cbfstool/Makefile.inc b/util/cbfstool/Makefile.inc
index 2a3dedf..49fdeaa 100644
--- a/util/cbfstool/Makefile.inc
+++ b/util/cbfstool/Makefile.inc
@@ -45,6 +45,7 @@ rmodobj += xdr.o
 TOOLCFLAGS ?= -std=c99 -Werror -Wall -Wextra
 TOOLCFLAGS += -Wcast-qual -Wmissing-prototypes -Wredundant-decls -Wshadow
 TOOLCFLAGS += -Wstrict-prototypes -Wwrite-strings
+TOOLCFLAGS += -Wno-error=implicit-function-declaration
 TOOLCPPFLAGS ?= -D_DEFAULT_SOURCE # memccpy() from string.h
 TOOLCPPFLAGS += -D_XOPEN_SOURCE=700 # strdup() from string.h
 TOOLCPPFLAGS += -I$(top)/util/cbfstool/flashmap



More information about the coreboot-gerrit mailing list