r16213 - gnucash/trunk/src/bin - Call gbr_init() only on ENABLE_BINRELOC, #450991. Move variables into #ifdef'ed blocks.

Christian Stimming stimming at tuhh.de
Tue Jun 26 05:39:01 EDT 2007


Quoting Andreas Köhler <andi5 at cvs.gnucash.org>:
> New Revision: 16213
> Trac: http://svn.gnucash.org/trac/changeset/16213
>
> Modified:
>    gnucash/trunk/src/bin/gnucash-bin.c
> Log:
> Call gbr_init() only on ENABLE_BINRELOC, #450991.  Move variables   
> into #ifdef'ed blocks.

I'm sorry for the printf(); thanks for fixing this.

However, I think there should be at least *some* error/debug message  
on undef'd ENABLE_BINRELOC because this can very easily be disabled  
unintentionally (e.g. by the subtle autoconf changes that required  
http://svn.gnucash.org/trac/changeset/15457 subsequently). Could you  
please add some message to gnucash.trace for the undef'd case? Thanks.

Christian



More information about the gnucash-devel mailing list