Remove /J from MSVC compile flags
https://msdn.microsoft.com/en-us/library/0d294k5z.aspx It looks like we don't need it. The 'char' type is signed on other platforms, so why should it be unsigned on Windows? Besides, its includion in add_definitions() prevented RC from compiling libpawn.rc with Visual Studio 2017's CMake tools.
This commit is contained in:
parent
97586a750e
commit
c4e15a032a
@ -45,7 +45,7 @@ if(HAVE_STRLCAT)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE /J)
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE)
|
||||||
if(MSVC LESS 1900)
|
if(MSVC LESS 1900)
|
||||||
# MSVC 2013 and below don't support the "inline" keyword
|
# MSVC 2013 and below don't support the "inline" keyword
|
||||||
add_definitions(-Dinline=__inline)
|
add_definitions(-Dinline=__inline)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user