r17570 - gnucash/branches/2.2/src - [r17567] 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:31:28 EDT 2008


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

Modified:
   gnucash/branches/2.2/src/backend/file/io-gncxml-v2.c
   gnucash/branches/2.2/src/gnome-utils/gnc-html.c
   gnucash/branches/2.2/src/gnome/dialog-print-check.c
Log:
[r17567] 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.



More information about the gnucash-patches mailing list