Build error split-register-model.c
Colin Law
clanlaw at googlemail.com
Tue Sep 29 17:31:14 EDT 2009
2009/9/29 Colin Law <clanlaw at googlemail.com>:
> I am getting a build error in the latest split-register-model.c
>
> split-register-model.c: In function ‘gnc_split_register_get_rbaln’:
> split-register-model.c:71: error: ‘children’ may be used uninitialised
> in this function
> split-register-model.c:69: error: ‘account’ may be used uninitialised
> in this function
In addition, having initialised these to NULL to keep the compiler
happy I now get a crash on startup.
Backtrace:
In unknown file:
?: 9 (let ((full-name #)) (let (#) (if already # #)))
...
?: 10 (begin (if # #) (make-modules-in # full-name))
?: 11* (if (or # #) (try-load-module name))
?: 12 [try-load-module (gnucash report standard-reports)]
?: 13 (or (begin (try-module-linked name)) (try-module-autoload name) ...)
?: 14* [try-module-autoload (gnucash report standard-reports)]
?: 15 (let* (# # # #) (resolve-module dir-hint-module-name #f) (and # #))
...
?: 16 (letrec ((load-file #)) (dynamic-wind (lambda () #) (lambda
() #) ...) ...)
?: 17* [dynamic-wind #<procedure #f ()> #<procedure #f ()>
#<procedure #f ()>]
?: 18* [#<procedure #f ()>]
?: 19* (let ((file #)) (cond (# => #) (# => #)))
?: 20 [#<procedure #f #>
"/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucas$
?: 21 [load-file #<primitive-procedure primitive-load> ...]
?: 22* [save-module-excursion #<procedure #f ()>]
?: 23 (let (# #) (dynamic-wind # thunk #))
?: 24 [dynamic-wind #<procedure #f ()> #<procedure #f ()>
#<procedure #f ()>]
?: 25* [#<procedure #f ()>]
?: 26* [primitive-load
"/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/r$
In /usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports.scm:
160: 27* (define gnc:register-report-create-internal #)
160: 28* (@ # gnc:register-report-create-internal)
/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports.scm:160:45:
In expression (@ (gnucash report standard-reports ...)
gnc:register-report-create-internal):
/usr/bin/gnucash2.3/share/gnucash/guile-modules/gnucash/report/standard-reports.scm:160:45:
Unbound variable: @
It was ok before I picked up the last few days of changes.
I am on Ubuntu 9.04.
Is this something specific to me?
It is late so I have not looked at the files indicated yet.
Colin
More information about the gnucash-devel
mailing list