mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Disable conversion warning on win32/gnu-mingw (#4516)
It's a mingw-runtime issue, but we disable conversion warning on win32/gnu-mingw for getting jerryscript compile with mingw first. The bug url are: https://sourceforge.net/p/mingw-w64/bugs/874/ JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
This commit is contained in:
parent
aa941ed58e
commit
9db4ec7d77
@ -211,7 +211,10 @@ if(USING_GCC OR USING_CLANG)
|
||||
if(JERRY_MATH)
|
||||
jerry_add_compile_flags(-fno-builtin)
|
||||
endif()
|
||||
jerry_add_compile_warnings(all extra format-nonliteral init-self conversion sign-conversion format-security missing-declarations shadow strict-prototypes undef old-style-definition)
|
||||
jerry_add_compile_warnings(all extra format-nonliteral init-self sign-conversion format-security missing-declarations shadow strict-prototypes undef old-style-definition)
|
||||
if(NOT "${PLATFORM}" STREQUAL "WINDOWS")
|
||||
jerry_add_compile_warnings(conversion)
|
||||
endif()
|
||||
jerry_add_compile_flags(-Wno-stack-protector -Wno-attributes -Werror)
|
||||
endif()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user