Skip to content

Commit 4ee8482

Browse files
committed
Merge all warning compile flags and non-warning compile flags
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss [email protected]
1 parent af8ee7c commit 4ee8482

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

CMakeLists.txt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -259,14 +259,8 @@ project (Jerry CXX C ASM)
259259
endforeach()
260260
endmacro()
261261

262-
add_jerry_compile_warnings(all extra)
263-
add_jerry_compile_flags(-pedantic)
264-
add_jerry_compile_warnings(format-nonliteral init-self)
265-
add_jerry_compile_flags(-Wno-stack-protector)
266-
add_jerry_compile_warnings(conversion sign-conversion format-security)
267-
add_jerry_compile_warnings(missing-declarations)
268-
add_jerry_compile_flags(-Wno-attributes)
269-
add_jerry_compile_flags(-Wfatal-errors)
262+
add_jerry_compile_warnings(all extra format-nonliteral init-self conversion sign-conversion format-security missing-declarations)
263+
add_jerry_compile_flags(-pedantic -Wno-stack-protector -Wno-attributes -Wfatal-errors)
270264
if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
271265
add_jerry_compile_warnings(logical-op)
272266
else()

0 commit comments

Comments
 (0)