X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.2 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49888DDE.1000900@gmail.com>
Date: Tue, 03 Feb 2009 18:33:02 +0000
From: Dave Korn <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: "Incompatible" typedefs
References: <1233680809.17414.1298297091@webmail.messagingengine.com>
In-Reply-To: <1233680809.17414.1298297091@webmail.messagingengine.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Charles Wilson wrote:
> I ran across an oddity in the cygwin headers today.

> <stdint.h> has
> typedef long int32_t
> typedef unsigned long uint32_t

> Now, on cygwin, there's no real harm. But from the C standard, long and
> int are distinct types, so the following:

   This is the 32-bit equivalent of the exact same problem that cause the 
template resolution failure that Marco and Tatsuro ran up against last week. 
I think we should probably add the missing 'int' to both 32- and 64-bit types. 
  Linux looks like it does it that way.

     cheers,
       DaveK

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

