mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove #pragma ..."-Wstrict-aliasing"
G_LOCK was fixed in glib 2.19.8 See https://bugzilla.gnome.org/show_bug.cgi?id=316221
This commit is contained in:
parent
80e9d9c35d
commit
1f43bbc798
@ -29,14 +29,6 @@
|
||||
#undef G_LOG_DOMAIN
|
||||
#define G_LOG_DOMAIN "gnc.printing"
|
||||
|
||||
/* Do not treat -Wstrict-aliasing warnings as errors because of problems of the
|
||||
* G_LOCK* macros as declared by glib. See
|
||||
* https://bugs.gnucash.org/show_bug.cgi?id=316221 for additional information.
|
||||
*/
|
||||
#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 2)
|
||||
# pragma GCC diagnostic warning "-Wstrict-aliasing"
|
||||
#endif
|
||||
|
||||
static GtkPrintSettings *print_settings = NULL;
|
||||
static GtkPageSetup *page_setup = NULL;
|
||||
G_LOCK_DEFINE_STATIC(print_settings);
|
||||
|
@ -73,14 +73,6 @@
|
||||
#include "io-gncxml-v2.h"
|
||||
#include "io-gncxml-gen.h"
|
||||
|
||||
/* Do not treat -Wstrict-aliasing warnings as errors because of problems of the
|
||||
* G_LOCK* macros as declared by glib. See
|
||||
* https://bugs.gnucash.org/show_bug.cgi?id=316221 for additional information.
|
||||
*/
|
||||
#if (__GNUC__ >= 4 && __GNUC_MINOR__ >= 2)
|
||||
# pragma GCC diagnostic warning "-Wstrict-aliasing"
|
||||
#endif
|
||||
|
||||
static QofLogModule log_module = GNC_MOD_IO;
|
||||
|
||||
typedef struct
|
||||
|
Loading…
Reference in New Issue
Block a user