Build Error on Trunk

Tom Browder tom.browder at gmail.com
Sat Sep 13 14:14:41 EDT 2008


On Sat, Sep 13, 2008 at 12:48 PM, David Reiser <dbreiser at earthlink.net> wrote:
> On Sep 13, 2008, at 1:15 PM, Tom Browder wrote:
>> On Sat, Sep 6, 2008 at 5:08 PM, Tom Browder <tom.browder at gmail.com> wrote:
...
>>> '--enable-compile-warnings', and, using gcc-4.3.1, got the following
>>> errors (it occurs four times in the same file, all at calls of
...
>>> io-gncxml-v2.c:1351: error: dereferencing type-punned pointer will
>>> break strict-aliasing rules
>>
>> Well, it looks like the problem is in glib, and it hasn't been solved
>> (see bug 316221, originally filed on 2005-09-13 with MingW gcc 3.4.4
>> and glib 2.6.5: <http://bugzilla.gnome.org/show_bug.cgi?id=316221>) .
>
> It hasn't been solved, but the change that triggered the complaint has been
> reverted since glib 2.16.4 (2.16.2 and 2.16.3 have the change that triggered
> this behavior). http://bugzilla.gnome.org/show_bug.cgi?id=316221#c29

Well, the glib trunk still gives the warnings.  I think the fix that
was reverted eliminated that warning but caused others, thus it was
reverted.

-Tom


More information about the gnucash-user mailing list