From 9c2c6ee11be2438ff2fa6f8d50fa395b2fabdcb5 Mon Sep 17 00:00:00 2001 From: Sebastian Wilhelmi Date: Tue, 16 Mar 1999 14:25:01 +0000 Subject: [PATCH] Removed G_(U)?INT8_FORMAT again, as it can't be used for scanf. 1999-03-16 Sebastian Wilhelmi * configure.in: Removed G_(U)?INT8_FORMAT again, as it can't be used for scanf. * configure.in: Added the macros G_MAXU(SHORT|INT|LONG). I do not know how to handle these on platforms with /usr/include/values.h, but without /usr/include/limits.h. Please someone add this. --- ChangeLog | 12 +++++++++++- ChangeLog.pre-2-0 | 12 +++++++++++- ChangeLog.pre-2-10 | 12 +++++++++++- ChangeLog.pre-2-12 | 12 +++++++++++- ChangeLog.pre-2-2 | 12 +++++++++++- ChangeLog.pre-2-4 | 12 +++++++++++- ChangeLog.pre-2-6 | 12 +++++++++++- ChangeLog.pre-2-8 | 12 +++++++++++- configure.in | 17 +++++++++-------- 9 files changed, 97 insertions(+), 16 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8f63df1ae..cc2fb08d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,16 @@ +1999-03-16 Sebastian Wilhelmi + + * configure.in: Removed G_(U)?INT8_FORMAT again, as it can't be + used for scanf. + + * configure.in: Added the macros G_MAXU(SHORT|INT|LONG). I do not + know how to handle these on platforms with /usr/include/values.h, + but without /usr/include/limits.h. Please someone add this. + + 1999-03-15 Sebastian Wilhelmi - * configure.in: Added the macros G_(U)?INT_(8|16|32|64)_FORMAT to + * configure.in: Added the macros G_(U)?INT(8|16|32|64)_FORMAT to use for printf and (much more important) scanf format strings for the corresponding GLib types. diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 8f63df1ae..cc2fb08d5 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,6 +1,16 @@ +1999-03-16 Sebastian Wilhelmi + + * configure.in: Removed G_(U)?INT8_FORMAT again, as it can't be + used for scanf. + + * configure.in: Added the macros G_MAXU(SHORT|INT|LONG). I do not + know how to handle these on platforms with /usr/include/values.h, + but without /usr/include/limits.h. Please someone add this. + + 1999-03-15 Sebastian Wilhelmi - * configure.in: Added the macros G_(U)?INT_(8|16|32|64)_FORMAT to + * configure.in: Added the macros G_(U)?INT(8|16|32|64)_FORMAT to use for printf and (much more important) scanf format strings for the corresponding GLib types. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 8f63df1ae..cc2fb08d5 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,6 +1,16 @@ +1999-03-16 Sebastian Wilhelmi + + * configure.in: Removed G_(U)?INT8_FORMAT again, as it can't be + used for scanf. + + * configure.in: Added the macros G_MAXU(SHORT|INT|LONG). I do not + know how to handle these on platforms with /usr/include/values.h, + but without /usr/include/limits.h. Please someone add this. + + 1999-03-15 Sebastian Wilhelmi - * configure.in: Added the macros G_(U)?INT_(8|16|32|64)_FORMAT to + * configure.in: Added the macros G_(U)?INT(8|16|32|64)_FORMAT to use for printf and (much more important) scanf format strings for the corresponding GLib types. diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 8f63df1ae..cc2fb08d5 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,6 +1,16 @@ +1999-03-16 Sebastian Wilhelmi + + * configure.in: Removed G_(U)?INT8_FORMAT again, as it can't be + used for scanf. + + * configure.in: Added the macros G_MAXU(SHORT|INT|LONG). I do not + know how to handle these on platforms with /usr/include/values.h, + but without /usr/include/limits.h. Please someone add this. + + 1999-03-15 Sebastian Wilhelmi - * configure.in: Added the macros G_(U)?INT_(8|16|32|64)_FORMAT to + * configure.in: Added the macros G_(U)?INT(8|16|32|64)_FORMAT to use for printf and (much more important) scanf format strings for the corresponding GLib types. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 8f63df1ae..cc2fb08d5 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,6 +1,16 @@ +1999-03-16 Sebastian Wilhelmi + + * configure.in: Removed G_(U)?INT8_FORMAT again, as it can't be + used for scanf. + + * configure.in: Added the macros G_MAXU(SHORT|INT|LONG). I do not + know how to handle these on platforms with /usr/include/values.h, + but without /usr/include/limits.h. Please someone add this. + + 1999-03-15 Sebastian Wilhelmi - * configure.in: Added the macros G_(U)?INT_(8|16|32|64)_FORMAT to + * configure.in: Added the macros G_(U)?INT(8|16|32|64)_FORMAT to use for printf and (much more important) scanf format strings for the corresponding GLib types. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 8f63df1ae..cc2fb08d5 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,6 +1,16 @@ +1999-03-16 Sebastian Wilhelmi + + * configure.in: Removed G_(U)?INT8_FORMAT again, as it can't be + used for scanf. + + * configure.in: Added the macros G_MAXU(SHORT|INT|LONG). I do not + know how to handle these on platforms with /usr/include/values.h, + but without /usr/include/limits.h. Please someone add this. + + 1999-03-15 Sebastian Wilhelmi - * configure.in: Added the macros G_(U)?INT_(8|16|32|64)_FORMAT to + * configure.in: Added the macros G_(U)?INT(8|16|32|64)_FORMAT to use for printf and (much more important) scanf format strings for the corresponding GLib types. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 8f63df1ae..cc2fb08d5 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,6 +1,16 @@ +1999-03-16 Sebastian Wilhelmi + + * configure.in: Removed G_(U)?INT8_FORMAT again, as it can't be + used for scanf. + + * configure.in: Added the macros G_MAXU(SHORT|INT|LONG). I do not + know how to handle these on platforms with /usr/include/values.h, + but without /usr/include/limits.h. Please someone add this. + + 1999-03-15 Sebastian Wilhelmi - * configure.in: Added the macros G_(U)?INT_(8|16|32|64)_FORMAT to + * configure.in: Added the macros G_(U)?INT(8|16|32|64)_FORMAT to use for printf and (much more important) scanf format strings for the corresponding GLib types. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 8f63df1ae..cc2fb08d5 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,6 +1,16 @@ +1999-03-16 Sebastian Wilhelmi + + * configure.in: Removed G_(U)?INT8_FORMAT again, as it can't be + used for scanf. + + * configure.in: Added the macros G_MAXU(SHORT|INT|LONG). I do not + know how to handle these on platforms with /usr/include/values.h, + but without /usr/include/limits.h. Please someone add this. + + 1999-03-15 Sebastian Wilhelmi - * configure.in: Added the macros G_(U)?INT_(8|16|32|64)_FORMAT to + * configure.in: Added the macros G_(U)?INT(8|16|32|64)_FORMAT to use for printf and (much more important) scanf format strings for the corresponding GLib types. diff --git a/configure.in b/configure.in index 4ca36dcc0..edfc8eadb 100644 --- a/configure.in +++ b/configure.in @@ -854,10 +854,13 @@ _______EOF #define G_MAXDOUBLE $glib_Md #define G_MINSHORT $glib_ms #define G_MAXSHORT $glib_Ms +#define G_MAXUSHORT $glib_Mus #define G_MININT $glib_mi #define G_MAXINT $glib_Mi +#define G_MAXUINT $glib_Mui #define G_MINLONG $glib_ml #define G_MAXLONG $glib_Ml +#define G_MAXULONG $glib_Mul _______EOF @@ -866,8 +869,6 @@ _______EOF cat >>$outfile <<_______EOF typedef signed char gint8; typedef unsigned char guint8; -#define G_GINT8_FORMAT "hi" -#define G_GUINT8_FORMAT "hu" _______EOF @@ -1035,15 +1036,15 @@ esac case xyes in x$ac_cv_header_limits_h) glib_limits_h=yes - glib_ms=SHRT_MIN glib_Ms=SHRT_MAX - glib_mi=INT_MIN glib_Mi=INT_MAX - glib_ml=LONG_MIN glib_Ml=LONG_MAX + glib_ms=SHRT_MIN glib_Ms=SHRT_MAX glib_Mus=USHRT_MAX + glib_mi=INT_MIN glib_Mi=INT_MAX glib_Mui=UINT_MAX + glib_ml=LONG_MIN glib_Ml=LONG_MAX glib_Mul=ULONG_MAX ;; x$ac_cv_header_values_h) glib_values_h=yes - glib_ms=MINSHORT glib_Ms=MAXSHORT - glib_mi=MININT glib_Mi=MAXINT - glib_ml=MINLONG glib_Ml=MAXLONG + glib_ms=MINSHORT glib_Ms=MAXSHORT glib_Mus=unknown # Please insert the right + glib_mi=MININT glib_Mi=MAXINT glib_Mui=unknown # values from + glib_ml=MINLONG glib_Ml=MAXLONG glib_Mul=unknown # /usr/include/values.h ;; esac