From 8bd581a007a21ec7ffdaa03af5e79d1aac137841 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 18 Jun 2014 01:37:33 +0200 Subject: non-standard warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 8b96ac9..179d44f 100644 --- a/Makefile +++ b/Makefile @@ -39,17 +39,18 @@ CC ?= gcc WARN = -Wall -Wextra -pedantic -Wformat=2 -Winit-self -Wmissing-include-dirs \ -Wfloat-equal -Wshadow -Wmissing-prototypes -Wmissing-declarations \ -Wredundant-decls -Wnested-externs -Winline -Wno-variadic-macros \ - -Wswitch-default -Wconversion -Wunsafe-loop-optimizations -Wcast-align \ - -Wstrict-overflow -Wdeclaration-after-statement -Wundef -Wcast-qual \ - -Wbad-function-cast -Wwrite-strings -Waggregate-return -Wpacked \ - -Wstrict-prototypes -Wold-style-definition + -Wswitch-default -Wconversion -Wcast-align -Wstrict-overflow \ + -Wdeclaration-after-statement -Wundef -Wcast-qual -Wbad-function-cast \ + -Wwrite-strings -Waggregate-return -Wpacked -Wstrict-prototypes \ + -Wold-style-definition ifeq ($(CC),gcc) WARN += -Wdouble-promotion -Wtrampolines -Wsign-conversion -Wsync-nand \ -Wlogical-op -Wvector-operation-performance \ -Wunsuffixed-float-constants -Wsuggest-attribute=const \ -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure \ - -Wsuggest-attribute=format -Wnormalized=nfkc + -Wsuggest-attribute=format -Wnormalized=nfkc \ + -Wunsafe-loop-optimizations endif -- cgit v1.2.3-70-g09d2