delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/06/15/07:02:53

Message-ID: <3948B873.2EB347B4@softhome.net>
Date: Thu, 15 Jun 2000 13:05:23 +0200
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.73 [en] (Win98; U)
X-Accept-Language: lt,en
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: djgpp-workers AT delorie DOT com
Subject: Re: Patch: sentinels for typedefs in headers
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000615112109 DOT 11632G-100000 AT is>
Reply-To: djgpp-workers AT delorie DOT com

Eli Zaretskii wrote:
> > OK to install?
> [snip]
> > -#define __DJ_wint_t     typedef int wint_t;
> > +#define __DJ_wint_t     typedef unsigned int wint_t;
> 
> Won't this interfere with our definition of WEOF (which is negative)?

WEOF does not have to be negative, it only should be not present
in extended char set. Current (wint_t)(-1) is OK with 
unsigned wint_t, it will give 0xFFFFFFFF.

Laurynas

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019