bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gnulib] Re: <stdint.h> on IRIX-5.3 & SGI-cc


From: Bruno Haible
Subject: Re: [bug-gnulib] Re: <stdint.h> on IRIX-5.3 & SGI-cc
Date: Mon, 26 Jun 2006 15:07:29 +0200
User-agent: KMail/1.9.1

Martin Neitzel wrote:
> 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

This is valid ANSI C and ISO C 99 code. When you don't pass "-w2" to your
compiler, does it show an error or a warning about this?

>         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;

Should be fixed since Friday.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]