mirror of
https://github.com/darlinghq/darling-python.git
synced 2024-11-27 06:01:13 +00:00
Hide warnings
This commit is contained in:
parent
fe93b20a38
commit
a96929297f
@ -14,6 +14,22 @@ add_definitions(-DNDEBUG -DHAVE_NDBM_H -DHAVE_SEM_OPEN -DOBJC2RUNTIME)
|
||||
add_definitions(-DVERSION="2.6" -DPREFIX="/System/Library/Frameworks/Python.framework/Versions/2.6" -DSUFFIX="${BITS}")
|
||||
add_definitions(-DPLATFORM="darwin")
|
||||
|
||||
add_definitions(
|
||||
-Wno-parentheses
|
||||
-Wno-implicit-function-declaration
|
||||
-Wno-logical-not-parentheses
|
||||
-Wno-tautological-constant-out-of-range-compare
|
||||
-Wno-absolute-value
|
||||
-Wno-pointer-sign
|
||||
-Wno-format-extra-args
|
||||
-Wno-tautological-pointer-compare
|
||||
-Wno-incompatible-pointer-types-discards-qualifiers
|
||||
-Wno-deprecated-declarations
|
||||
-Wno-shift-negative-value
|
||||
-Wno-macro-redefined
|
||||
-Wno-invalid-source-encoding
|
||||
)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -nostdinc -fwrapv -fPIC -ggdb -O0")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "-nodefaultlibs -nostdlib -fPIC -Wl,--version-script=${DARLING_TOP_DIRECTORY}/darwin.map")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-nodefaultlibs -nostdlib -fPIC -Wl,--version-script=${DARLING_TOP_DIRECTORY}/darwin.map")
|
||||
|
@ -15,6 +15,24 @@ add_definitions(-DNDEBUG -DHAVE_NDBM_H -DHAVE_SEM_OPEN -DOBJC2RUNTIME)
|
||||
add_definitions(-DVERSION="2.7" -DPREFIX="/System/Library/Frameworks/Python.framework/Versions/2.7" -DSUFFIX="${BITS}")
|
||||
add_definitions(-DPLATFORM="darwin")
|
||||
|
||||
add_definitions(
|
||||
-Wno-parentheses
|
||||
-Wno-implicit-function-declaration
|
||||
-Wno-logical-not-parentheses
|
||||
-Wno-tautological-constant-out-of-range-compare
|
||||
-Wno-absolute-value
|
||||
-Wno-pointer-sign
|
||||
-Wno-format-extra-args
|
||||
-Wno-tautological-pointer-compare
|
||||
-Wno-incompatible-pointer-types-discards-qualifiers
|
||||
-Wno-deprecated-declarations
|
||||
-Wno-shift-negative-value
|
||||
-Wno-macro-redefined
|
||||
-Wno-invalid-source-encoding
|
||||
-Wno-tautological-compare
|
||||
-Wno-empty-body
|
||||
)
|
||||
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -nostdinc -fwrapv -fPIC -ggdb -O0")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "-nodefaultlibs -nostdlib -fPIC -Wl,--version-script=${DARLING_TOP_DIRECTORY}/darwin.map")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-nodefaultlibs -nostdlib -fPIC -Wl,--version-script=${DARLING_TOP_DIRECTORY}/darwin.map")
|
||||
|
Loading…
Reference in New Issue
Block a user