[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: <stdint.h> on IRIX-5.3 & SGI-cc
From: |
Martin Neitzel |
Subject: |
Re: <stdint.h> on IRIX-5.3 & SGI-cc |
Date: |
Fri, 23 Jun 2006 14:50:45 +0200 (CEST) |
> The lib/stdint.h which is generated on an IRIX 5.3 system should have
> all of the stuff you need without any change needed to md5.c or md5.h.
>
> If you want to checkout a copy of the vanilla CVS sources and do a quick
> configure and build to let us know of any warnings or errors you see,
> that could be very helpful.
I did a pristine checkout of HEAD (already containing the patches in
your email), configured, and attempted to compile. Here is a very
quick initial report.
First observation:
WINT_MIN and WINT_MAX are undefined.
The Makefile/sed-substitions/stdint.h will substitute both
@BITSIZEOF_WINT_T@ and @SAME_TYPE_WINT_T_LONG@ into an empty strings,
turning this stdint_.h template fragment:
/* wint_t limits */
#ifndef WINT_MIN
# if @HAVE_SIGNED_WINT_T@
# if @BITSIZEOF_WINT_T@ > @BITSIZEOF_LONG@ || @SAME_TYPE_WINT_T_LONG@
# define WINT_MIN (-1L << (@BITSIZEOF_WINT_T@ - 1))
into this illegal stdint.h code:
/* wint_t limits */
#ifndef WINT_MIN
# if 0
# if > 32 || <=== flagged error here
# define WINT_MIN (-1L << ( - 1)) (<=== silently borked)
# else
(Three more following places in the "wint_t limits" section are affected
just the same.)
After hacking around this, I get much the same header conflicts as in March.
Here is the error message for md5.c:
source='md5.c' object='md5.o' libtool=no \
DEPDIR=.deps depmode=sgi /bin/ksh ../build-aux/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Ino/include -w2 -g -c
md5.c
cfe: Error: /usr/include/sys/types.h, line 211: redeclaration of 'int8_t';
previous declaration at line 78 in file './stdint.h'
typedef signed char int8_t;
------- ----------- ^
cfe: Error: /usr/include/sys/types.h, line 212: redeclaration of 'int16_t';
previous declaration at line 86 in file './stdint.h'
typedef short int16_t;
------- ----- ^
cfe: Error: /usr/include/sys/types.h, line 213: redeclaration of 'int32_t';
previous declaration at line 93 in file './stdint.h'
typedef __int32_t int32_t;
------- --------- ^
*** Error code 1 (bu21)
Looks to me the issue is still unresolved.
Martin
- <stdint.h> on IRIX-5.3 & SGI-cc, Martin Neitzel, 2006/06/23
- Re: <stdint.h> on IRIX-5.3 & SGI-cc, Mark D. Baushke, 2006/06/23
- Re: <stdint.h> on IRIX-5.3 & SGI-cc,
Martin Neitzel <=
- Re: <stdint.h> on IRIX-5.3 & SGI-cc, Mark D. Baushke, 2006/06/23
- Re: <stdint.h> on IRIX-5.3 & SGI-cc, Martin Neitzel, 2006/06/23
- Re: [bug-gnulib] Re: <stdint.h> on IRIX-5.3 & SGI-cc, Bruno Haible, 2006/06/26
- Re: [bug-gnulib] Re: <stdint.h> on IRIX-5.3 & SGI-cc, Martin Neitzel, 2006/06/27
- Re: [bug-gnulib] Re: <stdint.h> on IRIX-5.3 & SGI-cc, Mark D. Baushke, 2006/06/27
- Re: [bug-gnulib] Re: <stdint.h> on IRIX-5.3 & SGI-cc, Larry Jones, 2006/06/27
Re: [bug-gnulib] <stdint.h> on IRIX-5.3 & SGI-cc, Bruno Haible, 2006/06/26
Re: [bug-gnulib] <stdint.h> on IRIX-5.3 & SGI-cc, Martin Neitzel, 2006/06/27