From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52639 invoked by alias); 9 Nov 2016 21:42:49 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 52630 invoked by uid 89); 9 Nov 2016 21:42:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=relates, derivative, _generic, C11 X-HELO: relay1.mentorg.com Date: Wed, 09 Nov 2016 21:42:00 -0000 From: Joseph Myers To: "Gabriel F. T. Gomes" CC: Subject: Re: [PATCH 4/8] Add support for testing __STDC_WANT_IEC_60559_TYPES_EXT__ In-Reply-To: <1478716859-3246-5-git-send-email-gftg@linux.vnet.ibm.com> Message-ID: References: <1478716859-3246-1-git-send-email-gftg@linux.vnet.ibm.com> <1478716859-3246-5-git-send-email-gftg@linux.vnet.ibm.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-SW-Source: 2016-11/txt/msg00363.txt.bz2 On Wed, 9 Nov 2016, Gabriel F. T. Gomes wrote: > This will also implicitly enforce a minimum GCC 4.9. Given > the standard is a C11 derivative, it would seem reasonable > to assume a C11 compiler with _Generic support. This allows > for much simpler type classification macros which in theory > should be supported on any C11 compiler. I don't think that's appropriate. The aim should be to minimize the number of conditionals (on versions, supported types, etc.) in the individual headers with type-generic macros, at the expense of more complexity somewhere defining infrastructure for such macros. Also, __USE_ISOC11 relates purely to library facilities. It says nothing about availability of language support. -- Joseph S. Myers joseph@codesourcery.com