Require C90 compliance
authorDan Winship <danw@gnome.org>
Sat, 19 Oct 2013 17:03:58 +0000 (13:03 -0400)
committerDan Winship <danw@gnome.org>
Wed, 20 Nov 2013 14:16:16 +0000 (09:16 -0500)
commit6e4a7fca431f53fdfd89afbe956212229cf52200
tree8b492a3d5f272c3efbcd8e876c66819d020e9513
parent7f5b2901cf5bea290c11133dad16850176178dad
Require C90 compliance

Assume all supported platforms implement C90, and therefore they
(correctly) implement atexit(), memmove(), setlocale(), strerror(),
and vprintf(), and have <float.h> and <limits.h>.

(Also remove the configure check testing that "do ... while (0)" works
correctly; the non-do/while-based version of G_STMT_START and
G_STMT_END was removed years ago, but the check remained. Also, remove
some checks that configure.ac claimed were needed for libcharset, but
aren't actually used.)

Note that removing the g_memmove() function is not an ABI break even
on systems where g_memmove() was previously not a macro, because it
was never marked GLIB_AVAILABLE_IN_ALL or listed in glib.symbols, so
it would have been glib-internal since 2004.

https://bugzilla.gnome.org/show_bug.cgi?id=710519
16 files changed:
config.h.win32.in
configure.ac
gio/gbufferedinputstream.c
gio/gbufferedoutputstream.c
glib/garray.c
glib/gbsearcharray.h
glib/gfileutils.c
glib/gslice.c
glib/gstrfuncs.c
glib/gstring.c
glib/gutils.c
glib/gutils.h
glib/pcre/Makefile.am
glib/tests/test-printf.c
gobject/gtype.c
gobject/gvaluearray.c