Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Removed G_(U)?INT8_FORMAT again, as it can't be used for scanf.
Browse files Browse the repository at this point in the history
1999-03-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

        * 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.
  • Loading branch information
Sebastian Wilhelmi authored and Sebastian Wilhelmi committed Mar 16, 1999
1 parent d9f1357 commit 9c2c6ee
Show file tree
Hide file tree
Showing 9 changed files with 97 additions and 16 deletions.
12 changes: 11 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>

* 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 <wilhelmi@ira.uka.de>

* 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.

Expand Down
12 changes: 11 additions & 1 deletion ChangeLog.pre-2-0
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>

* 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 <wilhelmi@ira.uka.de>

* 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.

Expand Down
12 changes: 11 additions & 1 deletion ChangeLog.pre-2-10
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>

* 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 <wilhelmi@ira.uka.de>

* 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.

Expand Down
12 changes: 11 additions & 1 deletion ChangeLog.pre-2-12
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>

* 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 <wilhelmi@ira.uka.de>

* 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.

Expand Down
12 changes: 11 additions & 1 deletion ChangeLog.pre-2-2
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>

* 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 <wilhelmi@ira.uka.de>

* 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.

Expand Down
12 changes: 11 additions & 1 deletion ChangeLog.pre-2-4
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>

* 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 <wilhelmi@ira.uka.de>

* 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.

Expand Down
12 changes: 11 additions & 1 deletion ChangeLog.pre-2-6
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>

* 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 <wilhelmi@ira.uka.de>

* 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.

Expand Down
12 changes: 11 additions & 1 deletion ChangeLog.pre-2-8
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
1999-03-16 Sebastian Wilhelmi <wilhelmi@ira.uka.de>

* 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 <wilhelmi@ira.uka.de>

* 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.

Expand Down
17 changes: 9 additions & 8 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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


Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 9c2c6ee

Please sign in to comment.