r22289 - gnucash/trunk/src - Initial code for a new register.

Geert Janssens janssens-geert at telenet.be
Fri Aug 10 14:45:08 EDT 2012


Hi Frank,

Bob provided a patch for these warnings, which I have committed. Thanks 
for reporting this.

Geert

On 10-08-12 09:51, Frank H. Ellenberger wrote:
> Hi Geert,
>
> and I get a bunch of warnings:
> ../../../src/gnome-utils/gnc-tree-model-split-reg.c: In function
> 'gnc_tree_model_split_reg_iter_children':
> ../../../src/gnome-utils/gnc-tree-model-split-reg.c:905:11: error:
> 'snode' may be used uninitialized in this function [-Werror=uninitialized]
> ../../../src/gnome-utils/gnc-tree-model-split-reg.c:905:11: error:
> 'tnode' may be used uninitialized in this function [-Werror=uninitialized]
> ../../../src/gnome-utils/gnc-tree-model-split-reg.c: In function
> 'gnc_tree_model_split_reg_iter_next':
> ../../../src/gnome-utils/gnc-tree-model-split-reg.c:837:11: error:
> 'snode' may be used uninitialized in this function [-Werror=uninitialized]
> ../../../src/gnome-utils/gnc-tree-model-split-reg.c:837:11: error:
> 'tnode' may be used uninitialized in this function [-Werror=uninitialized]
> cc1: all warnings being treated as errors
>
> Frank
>
> Am 09.08.2012 22:18, schrieb Alex Aycinena:
>> Geert,
>>
>> On Tue, Aug 7, 2012 at 10:24 AM, Geert Janssens
>> <gjanssens at code.gnucash.org> wrote:
>>> Author: gjanssens
>>> Date: 2012-08-07 13:24:33 -0400 (Tue, 07 Aug 2012)
>>> New Revision: 22289
>>> Trac: http://svn.gnucash.org/trac/changeset/22289
>>>
>>> Added:
>>>     gnucash/trunk/src/gnome-utils/gnc-cell-renderer-date.c
>>>     gnucash/trunk/src/gnome-utils/gnc-cell-renderer-date.h
>>>     gnucash/trunk/src/gnome-utils/gnc-cell-renderer-popup-entry.c
>>>     gnucash/trunk/src/gnome-utils/gnc-cell-renderer-popup-entry.h
>>>     gnucash/trunk/src/gnome-utils/gnc-cell-renderer-popup.c
>>>     gnucash/trunk/src/gnome-utils/gnc-cell-renderer-popup.h
>>>     gnucash/trunk/src/gnome-utils/gnc-tree-model-split-reg.c
>>>     gnucash/trunk/src/gnome-utils/gnc-tree-model-split-reg.h
>>>     gnucash/trunk/src/gnome-utils/gnc-tree-view-split-reg.c
>>>     gnucash/trunk/src/gnome-utils/gnc-tree-view-split-reg.h
>>>     gnucash/trunk/src/gnome/gnc-plugin-page-register2.c
>>>     gnucash/trunk/src/gnome/gnc-plugin-page-register2.h
>>>     gnucash/trunk/src/gnome/gnc-plugin-register2.c
>>>     gnucash/trunk/src/gnome/gnc-plugin-register2.h
>>>     gnucash/trunk/src/gnome/ui/gnc-plugin-page-register2-ui.xml
>>>     gnucash/trunk/src/gnome/ui/gnc-plugin-register2-ui.xml
>> Just wanted to point out the make check fails with the following message:
>>
>> INTLTOOL_EXTRACT=/usr/bin/intltool-extract
>> srcdir=/home/gnucash-dev/svncheckouts/gnucash-working-n/po
>> /usr/bin/intltool-update --gettext-package gnucash --pot
>> rm -f missing notexist
>> srcdir=/home/gnucash-dev/svncheckouts/gnucash-working-n/po
>> /usr/bin/intltool-update -m
>> The usage of POTFILES.ignore is deprecated. Please consider moving the
>> content of this file to POTFILES.skip.
>> The following files contain translations and are currently not in use. Please
>> consider adding these to the POTFILES.in file, located in the po/ directory.
>>
>> src/gnome-utils/gnc-cell-renderer-date.c
>> src/gnome-utils/gnc-tree-model-split-reg.c
>> src/gnome-utils/gnc-tree-view-split-reg.c
>> src/gnome/gnc-plugin-page-register2.c
>> src/gnome/gnc-plugin-register2.c
>>
>> If some of these files are left out on purpose then please add them to
>> POTFILES.skip instead of POTFILES.in. A file 'missing' containing this list
>> of left out files has been written in the current directory.
>> Please report to gnucash-devel at gnucash.org
>>
>>
>> Regards,
>>
>> Alex
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel



More information about the gnucash-devel mailing list