We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8944a13 commit f3d4edfCopy full SHA for f3d4edf
CMakeLists.txt
@@ -174,7 +174,6 @@ if (LLAMA_ALL_WARNINGS)
174
-Wshadow
175
-Wstrict-prototypes
176
-Wpointer-arith
177
- -Wno-unused-function
178
)
179
set(cxx_flags
180
-Wall
Makefile
@@ -36,7 +36,7 @@ CXXFLAGS = -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC
36
LDFLAGS =
37
38
# warnings
39
-CFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-unused-function
+CFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith
40
CXXFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar
41
42
# OS specific
0 commit comments