File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ ENDIF()
60
60
# Xcode >= 14 makes noise about sprintf, so silence:
61
61
IF (APPLE )
62
62
LIST (APPEND ICU_LINUX_COMPILE_OPTIONS "-Wno-deprecated-declarations" )
63
+ LIST (APPEND ICU_LINUX_COMPILE_OPTIONS "-Wno-shorten-64-to-32" )
63
64
ENDIF ()
64
65
65
66
MY_CHECK_CXX_COMPILER_WARNING ("-Wzero-as-null-pointer-constant" HAS_WARN_FLAG )
Original file line number Diff line number Diff line change 19
19
# start libevent.sln
20
20
#
21
21
22
+ IF (APPLE )
23
+ STRING_APPEND (CMAKE_C_FLAGS " -Wno-shorten-64-to-32" )
24
+ ENDIF ()
25
+
22
26
MY_CHECK_CXX_COMPILER_WARNING ("-Wdangling-pointer" HAS_WARN_FLAG )
23
27
IF (HAS_WARN_FLAG )
24
28
STRING_APPEND (CMAKE_C_FLAGS " ${HAS_WARN_FLAG} " )
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ ENDIF()
32
32
# Xcode >= 14 makes noise about sprintf, so silence:
33
33
IF (APPLE )
34
34
STRING_APPEND (CMAKE_CXX_FLAGS " -Wno-deprecated-declarations" )
35
+ STRING_APPEND (CMAKE_CXX_FLAGS " -Wno-shorten-64-to-32" )
35
36
ENDIF ()
36
37
37
38
# Inhibit warning messages
You can’t perform that action at this time.
0 commit comments