Skip to content
Snippets Groups Projects
Commit 2bf0e93f authored by Christoph Alt's avatar Christoph Alt
Browse files

Make strict-prototypes only a warning not an error to compile with likwid

parent 597bc917
Branches
Tags
1 merge request!2Adding likwid markers
Pipeline #54690 passed with stages
in 1 minute and 28 seconds
......@@ -12,7 +12,7 @@ CFLAGS = -O3 -Wno-format -Wall -Werror $(ANSI_CFLAGS) -fopenmp -march=native
# Maybe too much warnings
#CFLAGS += -Wcast-qual -Wswitch-default -Wconversion -Wunreachable-code
# Specific C flags
CFLAGS := $(CFLAGS) -Wstrict-prototypes
CFLAGS := $(CFLAGS) -Wstrict-prototypes -Wno-error=strict-prototypes
LFLAGS = -fopenmp=libomp
DEFINES = -D_GNU_SOURCE -DNDEBUG
INCLUDES =
......
......@@ -12,7 +12,7 @@ CFLAGS = -O3 -Wno-format -Wall -Werror $(ANSI_CFLAGS) -fopenmp -march=native
# Maybe too much warnings
#CFLAGS += -Wcast-qual -Wswitch-default -Wconversion -Wunreachable-code
# Specific C flags
CFLAGS := $(CFLAGS) -Wstrict-prototypes
CFLAGS := $(CFLAGS) -Wstrict-prototypes -Wno-error=strict-prototypes
LFLAGS = -fopenmp
DEFINES = -D_GNU_SOURCE -DNDEBUG
INCLUDES =
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment