X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 4 Feb 2009 10:52:43 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: "Incompatible" typedefs Message-ID: <20090204095243.GA16129@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <1233680809 DOT 17414 DOT 1298297091 AT webmail DOT messagingengine DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1233680809.17414.1298297091@webmail.messagingengine.com> User-Agent: Mutt/1.5.17 (2007-11-01) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Feb 3 12:06, Charles Wilson wrote: > I ran across an oddity in the cygwin headers today. > > has > typedef signed int __int32_t; > unsigned int __uint32_t; > > has > typedef long int32_t > typedef unsigned long uint32_t > > has > typedef __uint32_t u_int32_t; > > What this means is that these public types don't match (exactly) > > uint32_t == unsigned long > u_int32_t == __uint32_t == unsigned int > > Also, the public/private pair doesn't match (exactly) > int32_t == long > __int32_t == signed int This has been fixed in the 1.7 headers in May 2008. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/