mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Add compiler flag to disable unknown pragma warnings on Windows
Without this flag you get a warning from every use of Type.h since it contains a '#pramga GCC' for disabling a deprecation warning.
This commit is contained in:
parent
5a4a3267fb
commit
401bdc86dd
1 changed files with 2 additions and 1 deletions
|
@ -99,7 +99,8 @@ if (MSVC)
|
||||||
add_compile_options(
|
add_compile_options(
|
||||||
/guard:cf # required by CheckCFlags
|
/guard:cf # required by CheckCFlags
|
||||||
/Z7 # required by CheckCFlags
|
/Z7 # required by CheckCFlags
|
||||||
/J) # Similar to -funsigned-char on other platforms
|
/J # Similar to -funsigned-char on other platforms
|
||||||
|
/wd4068) # Disable unknown pragma warnings
|
||||||
|
|
||||||
add_link_options(/debug:full # required by CheckCFlags
|
add_link_options(/debug:full # required by CheckCFlags
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue