Quellcode durchsuchen

Remove Pedantic flag from ARM targets

JDierkse vor 5 Jahren
Ursprung
Commit
895aee5fb8
4 geänderte Dateien mit 5 neuen und 3 gelöschten Zeilen
  1. 1 1
      Makefile.conf.armv8-alpine
  2. 1 1
      Makefile.conf.base
  3. 2 0
      Makefile.conf.x86_64
  4. 1 1
      Makefile.conf.x86_64-alpine

+ 1 - 1
Makefile.conf.armv8-alpine

@@ -16,5 +16,5 @@ CFLAGS += -I$(ARCHBASEDIR)/include -I$(ARCHBASEDIR)/arm-linux-musleabihf/include
 LFLAGS += -L$(ARCHBASEDIR)/lib -L$(ARCHBASEDIR)/arm-linux-musleabihf/lib -L$(ARCHBASEDIR)/arm-linux-musleabihf/usr/lib
 LFLAGS += -Wl,-rpath,$(ARCHBASEDIR)/lib -Wl,-rpath,$(ARCHBASEDIR)/arm-linux-musleabihf/lib -Wl,-rpath,$(ARCHBASEDIR)/arm-linux-musleabihf/usr/lib
 
-CFLAGS += -Wno-stringop-truncation
+CFLAGS += -pedantic -Wno-stringop-truncation
 

+ 1 - 1
Makefile.conf.base

@@ -3,7 +3,7 @@
 #
 
 CFLAGS += -g3 -O3 -fPIC -std=c++11
-CFLAGS += -Wall -Wextra -Wstrict-aliasing -pedantic -fmax-errors=5 -Werror -Wunreachable-code -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-include-dirs -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fdiagnostics-show-option
+CFLAGS += -Wall -Wextra -Wstrict-aliasing -fmax-errors=5 -Werror -Wunreachable-code -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-include-dirs -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fdiagnostics-show-option
 CFLAGS += -Wno-unused -Wno-variadic-macros -Wno-parentheses -Wno-unused-parameter
 # CFLAGS += -Wold-style-cast -Wundef -Wshadow -Wcast-qual -Wctor-dtor-privacy -Wredundant-decls -Wstrict-overflow=5 -Wcast-align -Wswitch-default -Wlogical-op -Wnoexcept
 

+ 2 - 0
Makefile.conf.x86_64

@@ -9,3 +9,5 @@ CC := g++
 STRIP := strip
 OBJCOPY := objcopy
 
+CFLAGS += -pedantic
+

+ 1 - 1
Makefile.conf.x86_64-alpine

@@ -15,5 +15,5 @@ CFLAGS += -I$(ARCHBASEDIR)/include -I$(ARCHBASEDIR)/x86_64-linux-musl/include
 LFLAGS += -L$(ARCHBASEDIR)/lib -L$(ARCHBASEDIR)/x86_64-linux-musl/lib -L$(ARCHBASEDIR)/x86_64-linux-musl/usr/lib
 LFLAGS += -Wl,-rpath,$(ARCHBASEDIR)/lib -Wl,-rpath,$(ARCHBASEDIR)/x86_64-linux-musl/lib -Wl,-rpath,$(ARCHBASEDIR)/x86_64-linux-musl/usr/lib
 
-CFLAGS += -Wno-stringop-truncation
+CFLAGS += -pedantic -Wno-stringop-truncation