bifcl: Add /J flag on Windows to force unsigned char

This commit is contained in:
Tim Wojtulewicz 2023-06-30 14:04:23 -07:00
parent 3004675015
commit af0c68c183

View file

@ -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")