r17568 - gnucash/branches/2.2/src/business - [r17565] In some files, do not disable -Waddress completely but keep it as warning instead.

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


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

Modified:
   gnucash/branches/2.2/src/business/business-core/business-core.i
   gnucash/branches/2.2/src/business/business-gnome/business-urls.c
   gnucash/branches/2.2/src/business/business-gnome/dialog-invoice.c
Log:
[r17565] In some files, do not disable -Waddress completely but keep it as warning instead.

 #if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 2)
 #    pragma GCC diagnostic warning "-Waddress"
 #endif

surely avoids problems with -Werror in those files, but "warning" will
make sure that the warnings are still showed, but not treated as errors.



More information about the gnucash-patches mailing list