AUDIT: r17567 - gnucash/trunk/src - Do not treat -Wstrict-aliasing warnings as errors in files using G_LOCK.

Andreas Köhler andi5 at cvs.gnucash.org
Fri Sep 19 12:25:58 EDT 2008


Author: andi5
Date: 2008-09-19 12:25:57 -0400 (Fri, 19 Sep 2008)
New Revision: 17567
Trac: http://svn.gnucash.org/trac/changeset/17567

Modified:
   gnucash/trunk/src/backend/file/io-gncxml-v2.c
   gnucash/trunk/src/gnome-utils/gnc-html.c
   gnucash/trunk/src/gnome/dialog-print-check.c
Log:
Do not treat -Wstrict-aliasing warnings as errors in files using G_LOCK.

See http://bugzilla.gnome.org/show_bug.cgi?id=316221 for information why G_LOCK
breaks strict-aliasing.  GCC 4.2 introduced diagnostic pragmas and the error
seems to be most prominent on GCC >= 4.3, so a compilation with -Werror should
succeed now on most systems, at least on those it worked on before.

BP



More information about the gnucash-patches mailing list