mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Turn off the scheme compiler's "possibly unbound variable" warnings.
In guile 2.0 we get nearly 7500 of them loading the scheme files. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23402 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -23,6 +23,14 @@
|
||||
(>= (string->number (minor-version)) 8))
|
||||
(default-duplicate-binding-handler 'last))
|
||||
|
||||
;; Turn off the scheme compiler's "possibly unbound variable" warnings.
|
||||
;; In guile 2.0 we get nearly 7500 of them loading the scheme files.
|
||||
;; This is the default value for auto-compilation-options without "unbound-variable".
|
||||
;; See module/ice-9/boot-9.scm */
|
||||
(if (>= (string->number (major-version)) 2)
|
||||
(set! %auto-compilation-options
|
||||
'(#:warnings (arity-mismatch format duplicate-case-datum bad-case-datum))))
|
||||
|
||||
(use-modules (gnucash core-utils))
|
||||
|
||||
;; Load the srfis (eventually, we should see where these are needed
|
||||
|
||||
Reference in New Issue
Block a user