mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
bifcl: Add /J flag on Windows to force unsigned char
This commit is contained in:
parent
3004675015
commit
af0c68c183
1 changed files with 7 additions and 6 deletions
|
@ -16,6 +16,7 @@ if ( MISSING_PREREQS )
|
|||
endif ()
|
||||
|
||||
if (MSVC)
|
||||
add_compile_options(/J) # Similar to -funsigned-char on other platforms
|
||||
set_property(SOURCE bif_lex.cc APPEND_STRING PROPERTY COMPILE_FLAGS "/wd4018")
|
||||
else()
|
||||
set_property(SOURCE bif_lex.cc APPEND_STRING PROPERTY COMPILE_FLAGS "-Wno-sign-compare")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue