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