mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16:14 +01:00
Add pragma that will prevent warnings when you are not using -std=99 and
2001-12-09 Christopher Blizzard <blizzard@redhat.com> * glib/gmessages.h: Add pragma that will prevent warnings when you are not using -std=99 and newer gcc compilers. Patch from Red Hat's gtk+ 1.2 rpm.
This commit is contained in:
parent
5217cbcd9d
commit
662bf991c0
@ -1,3 +1,9 @@
|
|||||||
|
2001-12-09 Christopher Blizzard <blizzard@redhat.com>
|
||||||
|
|
||||||
|
* glib/gmessages.h: Add pragma that will prevent warnings when you
|
||||||
|
are not using -std=99 and newer gcc compilers. Patch from Red
|
||||||
|
Hat's gtk+ 1.2 rpm.
|
||||||
|
|
||||||
2001-12-06 Darin Adler <darin@bentspoon.com>
|
2001-12-06 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gmacros.h: Do the same for "pure".
|
* glib/gmacros.h: Do the same for "pure".
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2001-12-09 Christopher Blizzard <blizzard@redhat.com>
|
||||||
|
|
||||||
|
* glib/gmessages.h: Add pragma that will prevent warnings when you
|
||||||
|
are not using -std=99 and newer gcc compilers. Patch from Red
|
||||||
|
Hat's gtk+ 1.2 rpm.
|
||||||
|
|
||||||
2001-12-06 Darin Adler <darin@bentspoon.com>
|
2001-12-06 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gmacros.h: Do the same for "pure".
|
* glib/gmacros.h: Do the same for "pure".
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2001-12-09 Christopher Blizzard <blizzard@redhat.com>
|
||||||
|
|
||||||
|
* glib/gmessages.h: Add pragma that will prevent warnings when you
|
||||||
|
are not using -std=99 and newer gcc compilers. Patch from Red
|
||||||
|
Hat's gtk+ 1.2 rpm.
|
||||||
|
|
||||||
2001-12-06 Darin Adler <darin@bentspoon.com>
|
2001-12-06 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gmacros.h: Do the same for "pure".
|
* glib/gmacros.h: Do the same for "pure".
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2001-12-09 Christopher Blizzard <blizzard@redhat.com>
|
||||||
|
|
||||||
|
* glib/gmessages.h: Add pragma that will prevent warnings when you
|
||||||
|
are not using -std=99 and newer gcc compilers. Patch from Red
|
||||||
|
Hat's gtk+ 1.2 rpm.
|
||||||
|
|
||||||
2001-12-06 Darin Adler <darin@bentspoon.com>
|
2001-12-06 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gmacros.h: Do the same for "pure".
|
* glib/gmacros.h: Do the same for "pure".
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2001-12-09 Christopher Blizzard <blizzard@redhat.com>
|
||||||
|
|
||||||
|
* glib/gmessages.h: Add pragma that will prevent warnings when you
|
||||||
|
are not using -std=99 and newer gcc compilers. Patch from Red
|
||||||
|
Hat's gtk+ 1.2 rpm.
|
||||||
|
|
||||||
2001-12-06 Darin Adler <darin@bentspoon.com>
|
2001-12-06 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gmacros.h: Do the same for "pure".
|
* glib/gmacros.h: Do the same for "pure".
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2001-12-09 Christopher Blizzard <blizzard@redhat.com>
|
||||||
|
|
||||||
|
* glib/gmessages.h: Add pragma that will prevent warnings when you
|
||||||
|
are not using -std=99 and newer gcc compilers. Patch from Red
|
||||||
|
Hat's gtk+ 1.2 rpm.
|
||||||
|
|
||||||
2001-12-06 Darin Adler <darin@bentspoon.com>
|
2001-12-06 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gmacros.h: Do the same for "pure".
|
* glib/gmacros.h: Do the same for "pure".
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2001-12-09 Christopher Blizzard <blizzard@redhat.com>
|
||||||
|
|
||||||
|
* glib/gmessages.h: Add pragma that will prevent warnings when you
|
||||||
|
are not using -std=99 and newer gcc compilers. Patch from Red
|
||||||
|
Hat's gtk+ 1.2 rpm.
|
||||||
|
|
||||||
2001-12-06 Darin Adler <darin@bentspoon.com>
|
2001-12-06 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gmacros.h: Do the same for "pure".
|
* glib/gmacros.h: Do the same for "pure".
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2001-12-09 Christopher Blizzard <blizzard@redhat.com>
|
||||||
|
|
||||||
|
* glib/gmessages.h: Add pragma that will prevent warnings when you
|
||||||
|
are not using -std=99 and newer gcc compilers. Patch from Red
|
||||||
|
Hat's gtk+ 1.2 rpm.
|
||||||
|
|
||||||
2001-12-06 Darin Adler <darin@bentspoon.com>
|
2001-12-06 Darin Adler <darin@bentspoon.com>
|
||||||
|
|
||||||
* glib/gmacros.h: Do the same for "pure".
|
* glib/gmacros.h: Do the same for "pure".
|
||||||
|
@ -30,6 +30,12 @@
|
|||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <glib/gtypes.h>
|
#include <glib/gtypes.h>
|
||||||
|
|
||||||
|
/* Suppress warnings when GCC is in -pedantic mode and not -std=c99
|
||||||
|
*/
|
||||||
|
#if (__GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96))
|
||||||
|
#pragma GCC system_header
|
||||||
|
#endif
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* calculate a string size, guarranteed to fit format + args.
|
/* calculate a string size, guarranteed to fit format + args.
|
||||||
|
Loading…
Reference in New Issue
Block a user