delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/24/14:52:17

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=wHrbmMK8go7FcRF+2FzWaflrn46H43NRYvdf7YZNKvkdLy2o8yUvS
i7eoxJa4bl7vK/jDxSWI3EzraGfbnICjUsUqzElVEo6D8criY9n5IPgafeCIif4B
HjSgMfb/XXkpMuFQb0KN/6+Y/P1Mw7f/70JMRpV3Yk4A3nXwtnYDLA=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=wCXbYh6/9vR+aThsgCXaaVFdWBs=; b=nYcoeR5q+8cNcaNGj7lhrpKtQAu0
ZA4yEAvZIxyQTG7SsEHO7U1P2JEgxUbFVVBPrOwjEYhopAwN8sAi162gFn43UscY
c5mv7WrnnUqPSAdyeivXY5YPkowNNABWLzQ5sEp3F4nCk8YwWTpOvC1TZfxhsex/
9jh1CGFVF0qkGOs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1
Date: Wed, 24 Apr 2013 20:51:59 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Porting to 64 bit Cygwin (was Re: Difference in 32/64-bit curl.)
Message-ID: <20130424185159.GA32290@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <51766C22 DOT 10702 AT bahnhof DOT se> <51770372 DOT 4070408 AT t-online DOT de> <20130424125930 DOT GQ26397 AT calimero DOT vinschen DOT de> <20130424134749 DOT GR26397 AT calimero DOT vinschen DOT de> <517823A4 DOT 8060001 AT xs4all DOT nl> <20130424183042 DOT GC26397 AT calimero DOT vinschen DOT de> <5178266D DOT 20209 AT xs4all DOT nl>
MIME-Version: 1.0
In-Reply-To: <5178266D.20209@xs4all.nl>
User-Agent: Mutt/1.5.21 (2010-09-15)

On Apr 24 20:37, Erwin Waterlander wrote:
> Op 24-4-2013 20:30, Corinna Vinschen schreef:
> >On Apr 24 20:25, Erwin Waterlander wrote:
> >>Op 24-4-2013 15:47, Corinna Vinschen schreef:
> >>>                  Cygwin   Windows  Cygwin
> >>>		 Linux    x86_64   Linux
> >>>		 Windows           x86_64
> >>>		 i686
> >>>
> >>>sizeof(int)         4        4        4
> >>>sizeof(long)        4        4        8
> >>>sizeof(size_t)      4        8        8
> >>>sizeof(void*)       4        8        8
> >>And these. Interesting for people handling Unicode (wide) text:
> >>
> >>sizeof(wchar_t)       2        2        2
> >>sizeof(wint_t)          2        2        4
> >No, that's not correct:
> >
> >   sizeof(wint_t)          4        4        4
> >
> >This is very important because of WEOF.
> >
> 
> We are both incorrect. I tried and got these results.
> 
> sizeof(wint_t) will give:
> 
> Cygwin i686:     4
> MinGW32 :        2
> MinGW-w64:    2
> Cygwin x86_64:   4

Indeed.  I didn't know that.  Fortunately we have the 4 byte wint_t ;)


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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