From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12950 invoked by alias); 11 Aug 2012 16:28:49 -0000 Received: (qmail 12942 invoked by uid 22791); 11 Aug 2012 16:28:48 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,T_DKIM_INVALID,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from imr-da05.mx.aol.com (HELO imr-da05.mx.aol.com) (205.188.105.147) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 11 Aug 2012 16:28:33 +0000 Received: from mtaout-ma06.r1000.mx.aol.com (mtaout-ma06.r1000.mx.aol.com [172.29.41.6]) by imr-da05.mx.aol.com (8.14.1/8.14.1) with ESMTP id q7BGSSQe017906 for ; Sat, 11 Aug 2012 12:28:28 -0400 Received: from [134.134.137.75] (jfdmzpr06-ext.jf.intel.com [134.134.137.75]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mtaout-ma06.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 2EE15E000121 for ; Sat, 11 Aug 2012 12:28:28 -0400 (EDT) Message-ID: <50268829.8010508@aol.com> Date: Sat, 11 Aug 2012 19:36:00 -0000 From: Tim Prince Reply-To: tprince@computer.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: Re: 16-bit int References: <5024C255.7030504@westcontrol.com> <5024CA1B.60903@westcontrol.com> <20120811104726.GI25354@xvii.vinc17.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit x-aol-global-disposition: G X-AOL-SCOLL-SCORE: 0:2:443522144:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d29065026882c697b X-AOL-IP: 134.134.137.75 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2012-08/txt/msg00087.txt.bz2 On 8/11/2012 11:32 AM, Ian Lance Taylor wrote: > On Sat, Aug 11, 2012 at 3:47 AM, Vincent Lefevre wrote: >> On 2012-08-10 09:05:13 +0000, Göran Steen wrote: >>> Any C99 compiler - and almost all pre-C99 compilers - will have >>> . I don't know of any compiler less than 15 years old that >>> doesn't come with a , and many people using such compilers >>> have written their own . >> I thought that Microsoft's compiler didn't have . >> I've also heard that is more common. > It's true that is older than . But as Göran > said, is in C99, a standard that was released 13 years ago. > I have to assume that even Microsoft compilers support by > now. > > Ian I haven't been able to find an authoritative source, but someone said recently that Microsoft had stated they would some day support those C99 features which are common with C++ (VS2010 doesn't, and VS2012 isn't widely available, but I don't hold my breath). Microsoft never committed to bring C99 support to the level of any other specified compiler, nor did other vendors of Microsoft-compatible compilers commit to the same level as on linux, for example. For example, I haven't found a way to engage the __restrict extension of MSVC to emulate (even to the documented extent) the corresponding feature of C99. VS2010 has stdint.h (at least at current service pack level), but not inttypes.h. VS2008 doesn't, and it's still under full support and in wide professional use. As previously mentioned, some use open source replacements, even though that is antithetical to the Microsoft proposition. -- Tim Prince