mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
Merge pull request #29982 from bfredl/gccwarn
fix(build): surpress spurious warnings from gcc in -E preprocessor mode
This commit is contained in:
@@ -563,7 +563,7 @@ foreach(sfile ${NVIM_SOURCES}
|
|||||||
if(MSVC)
|
if(MSVC)
|
||||||
set(PREPROC_OUTPUT /P /Fi${gf_i} /nologo)
|
set(PREPROC_OUTPUT /P /Fi${gf_i} /nologo)
|
||||||
else()
|
else()
|
||||||
set(PREPROC_OUTPUT -E -o ${gf_i})
|
set(PREPROC_OUTPUT -w -E -o ${gf_i})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(depends "${HEADER_GENERATOR}" "${sfile}" "${LUA_GEN_DEPS}")
|
set(depends "${HEADER_GENERATOR}" "${sfile}" "${LUA_GEN_DEPS}")
|
||||||
|
Reference in New Issue
Block a user