mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Guile 2: stop suppressing guile deprecated messages
All known deprecations have been dealt with and if new uses of deprecated methods appear we want know this.
This commit is contained in:
committed by
Geert Janssens
parent
463b551db9
commit
00ef7f3ab3
@@ -8,7 +8,6 @@ function(get_guile_env)
|
||||
set(env "")
|
||||
list(APPEND env "GNC_UNINSTALLED=yes")
|
||||
list(APPEND env "GNC_BUILDDIR=${CMAKE_BINARY_DIR}")
|
||||
list(APPEND env "GUILE_WARN_DEPRECATED=no")
|
||||
if (APPLE)
|
||||
list(APPEND env "DYLD_LIBRARY_PATH=${_GNC_MODULE_PATH}")
|
||||
endif()
|
||||
|
||||
@@ -51,9 +51,6 @@ PATH={GNC_BIN};{PATH}
|
||||
# Tell GnuCash where to look for GnuCash modules
|
||||
GNC_MODULE_PATH={GNC_LIB};{GNC_MODULE_PATH}
|
||||
|
||||
# Prevent embedded guile from issuing deprecation warnings
|
||||
GUILE_WARN_DEPRECATED=no
|
||||
|
||||
# Tell Guile where to find GnuCash specific guile modules GUILE_LIBS
|
||||
# can be used to override the path to Guile's own modules; likewise,
|
||||
# GUILE_COMPILED_LIBS overrides the path to Guile's precompiled
|
||||
|
||||
@@ -12,9 +12,6 @@ cat > ${TARGET_SCRIPT}.tmp <<EOF
|
||||
PATH="${GNC_OVERRIDES_DIR}:\${PATH}"
|
||||
export PATH
|
||||
|
||||
GUILE_WARN_DEPRECATED="no"
|
||||
export GUILE_WARN_DEPRECATED
|
||||
|
||||
exec "${TARGET_SCRIPT}" "\$@"
|
||||
EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user