Commit 662bf991 authored by Christopher Blizzard's avatar Christopher Blizzard Committed by Christopher Blizzard
Browse files

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.
parent 5217cbcd
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>
* glib/gmacros.h: Do the same for "pure".
......
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>
* glib/gmacros.h: Do the same for "pure".
......
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>
* glib/gmacros.h: Do the same for "pure".
......
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>
* glib/gmacros.h: Do the same for "pure".
......
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>
* glib/gmacros.h: Do the same for "pure".
......
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>
* glib/gmacros.h: Do the same for "pure".
......
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>
* glib/gmacros.h: Do the same for "pure".
......
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>
* glib/gmacros.h: Do the same for "pure".
......
......@@ -30,6 +30,12 @@
#include <stdarg.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
/* calculate a string size, guarranteed to fit format + args.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment