X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=Jamrules;h=5e739353b9546a286bbcf061ec090772e8bd8a4b;hp=d04c45dfddd47c5f6635064d070f914ca5158c83;hb=f60269dfbb4671b3bea11d1257de54bef0c9ffef;hpb=d2f319233da9144ea76930ea939a395b3d57bab0 diff --git a/Jamrules b/Jamrules index d04c45d..5e73935 100644 --- a/Jamrules +++ b/Jamrules @@ -31,15 +31,11 @@ if $(PDCLIB_TOOLCHAIN) = "" { } if $(PDCLIB_TOOLCHAIN) = "gcc" { - # No -Wcast-align : spurious warnings when using char* to do pointer - # arithmetic - # No -Winline : when compiling with e.g. -Os causes spurious - # warnings that call is unlikely/code size would grow - # No -Wredundant-decls : some functions must be multiply defined PDCLIB_WARNINGS ?= -Wall -Wextra -pedantic -Wno-unused-parameter -Wshadow -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wno-long-long - -Wuninitialized + -Wuninitialized -Wno-deprecated-declarations -Wredundant-decls -Winline + -Wcast-align -Wno-format ; PDCLIB_CCWARNINGS ?= -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes ; @@ -203,4 +199,4 @@ rule MakeLocate Depends $(<) : $(_dir:G=dir) ; MkDir $(_dir:G=dir) ; } -} \ No newline at end of file +}