220 19291 <c573d84f-6c23-4acf-8725-05d3770e7fa8@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: denis bider <isocppgroup@denisbider.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Testing for supported features: Per-feature
 macros? Sentinel compilation?
Date: Sun, 26 Jul 2015 18:03:16 -0700 (PDT)
Lines: 140
Approved: news@gmane.org
Message-ID: <c573d84f-6c23-4acf-8725-05d3770e7fa8@isocpp.org>
References: <e5919c40-d35e-4309-b5b8-6525a4eb443c@isocpp.org> <CAFk2RUYYR4-ffCPOxYRCBwqaoWMHjvvHm0_q2nzJnkanhOH_+g@mail.gmail.com> <a788504b-0028-425e-ab72-8312dda594ed@isocpp.org>
 <1720943.XpK8Tt98Hf@tjmaciei-mobl4>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_0_1499831596.1437958996961"
X-Trace: ger.gmane.org 1437959015 1484 80.91.229.3 (27 Jul 2015 01:03:35 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 27 Jul 2015 01:03:35 +0000 (UTC)
Cc: thiago@macieira.org
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBD5LNK7YQYJRBVUG22WQKGQEQVIQ4EI@isocpp.org Mon Jul 27 03:03:21 2015
Return-path: <std-proposals+bncBD5LNK7YQYJRBVUG22WQKGQEQVIQ4EI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yk0-f200.google.com ([209.85.160.200])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBD5LNK7YQYJRBVUG22WQKGQEQVIQ4EI@isocpp.org>)
	id 1ZJWp6-0003Nc-6a
	for gclcip-std-proposals@m.gmane.org; Mon, 27 Jul 2015 03:03:20 +0200
Original-Received: by ykek23 with SMTP id k23sf107813430yke.2
        for <gclcip-std-proposals@m.gmane.org>; Sun, 26 Jul 2015 18:03:19 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:cc:message-id:in-reply-to
         :references:subject:mime-version:content-type:x-original-sender
         :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=zhfR/B96cFhhCP6iMAkZuIs8OtyODY4GYGqVOhqWLSE=;
        b=SVYIsdcUAxnwO7MoGrwXW5GmcnpeYKal+uTGXL5gme/e3uhU+aXjsFjvCyMbRlGrTL
         cuDWuYMUvrFarTAvyNz1rKzNbNPryTWSNDD9uBDXTDmFvTdeEJw21gzYEfeEtjp+tHwD
         o+Y3rpBJEcZTveWWJp/s0hsClxUDsBSNYE2lRmZkbwc6dHXNafjZR+k0m/h8ojmYp1fF
         kVp4KT15VFkuLbFD3b/xkI/VXrNcGGGvNDK8yXBMbd5HBpeYWPyUoMPjDuUUfNtS1551
         hB/Ppn/maAe1Uud26M/gyZQqU78fiB+0uka0SflpI6b2kJQxQUoxdS6LiQ0ZamVPWxBe
         7yng==
X-Gm-Message-State: ALoCoQmDyNpd1I4YiG2t3rdmqtBisOwi1PI506MPek83G0jglLl236/wUV+ZHgGqzMsUJrhhg9aM
X-Received: by 10.140.165.203 with SMTP id l194mr27200648qhl.4.1437958999306;
        Sun, 26 Jul 2015 18:03:19 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.39.84 with SMTP id u78ls2623948qgu.31.gmail; Sun, 26 Jul
 2015 18:03:18 -0700 (PDT)
X-Received: by 10.140.101.243 with SMTP id u106mr436054qge.27.1437958998032;
        Sun, 26 Jul 2015 18:03:18 -0700 (PDT)
In-Reply-To: <1720943.XpK8Tt98Hf@tjmaciei-mobl4>
X-Original-Sender: isocppgroup@denisbider.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:19291
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/19291>

------=_Part_0_1499831596.1437958996961
Content-Type: multipart/alternative; 
	boundary="----=_Part_1_57966111.1437958996966"

------=_Part_1_57966111.1437958996966
Content-Type: text/plain; charset=UTF-8

Maintaining that registry, now and forever in the future, does not seem 
like a bureaucracy to you?

It's extra work for language maintainers; it isn't general; and it doesn't 
provide a way to test for differences in compiler implementations.


> Sentinel compilation would imply a major feature to the language.
> You can already do that with a configure script, if you want, though. 

That opens a whole other can of worms, which sentinel compilation would 
make it easy to avoid.


On Sunday, July 26, 2015 at 4:54:11 PM UTC-6, Thiago Macieira wrote:

> On Sunday 26 July 2015 13:35:01 denis bider wrote: 
> > This is nice and all, but it's a *lot* of bureaucracy for a non-general 
> > solution that needs maintenance with every new language version; and 
> leaves 
> > out niche situations that sentinel compilation would solve (e.g. 
> > implementation differences between compilers that *claim* to implement 
> the 
> > same feature). 
>
> What bureaucracy are you talking about? 
>
> The up-to-date list is 
>
> http://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations 
>
> Sentinel compilation would imply a major feature to the language. You can 
> already do that with a configure script, if you want, though. 
>
> -- 
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org 
>    Software Architect - Intel Open Source Technology Center 
>       PGP/GPG: 0x6EF45358; fingerprint: 
>       E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358 
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

------=_Part_1_57966111.1437958996966
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Maintaining that registry, now and forever in the fut=
ure, does not seem like a bureaucracy to you?</div><div><br></div><div>It&#=
39;s extra work for language maintainers; it isn&#39;t general; and it does=
n&#39;t provide a way to test for differences in compiler implementations.<=
/div><div><br></div><div><br></div><div>&gt; Sentinel compilation would imp=
ly a major feature to the language.</div><div>&gt; You can already do that =
with a configure script, if you want, though. </div><div><br></div><div>Tha=
t opens a whole other can of worms, which sentinel compilation would make i=
t easy to avoid.<br><br><br>On Sunday, July 26, 2015 at 4:54:11 PM UTC-6, T=
hiago Macieira wrote:</div><blockquote class=3D"gmail_quote" style=3D"margi=
n: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 2=
04); border-left-width: 1px; border-left-style: solid;">On Sunday 26 July 2=
015 13:35:01 denis bider wrote:
<br>&gt; This is nice and all, but it&#39;s a *lot* of bureaucracy for a no=
n-general=20
<br>&gt; solution that needs maintenance with every new language version; a=
nd leaves=20
<br>&gt; out niche situations that sentinel compilation would solve (e.g.
<br>&gt; implementation differences between compilers that *claim* to imple=
ment the=20
<br>&gt; same feature).
<br>
<br>What bureaucracy are you talking about?
<br>
<br>The up-to-date list is=20
<br><a onmousedown=3D"this.href=3D&#39;http://www.google.com/url?q\75http%3=
A%2F%2Fisocpp.org%2Fstd%2Fstanding-documents%2Fsd-6-sg10-feature-test-recom=
mendations\46sa\75D\46sntz\0751\46usg\75AFQjCNE9iXtekR38eFtgqmELK3rw2ss-xw&=
#39;;return true;" onclick=3D"this.href=3D&#39;http://www.google.com/url?q\=
75http%3A%2F%2Fisocpp.org%2Fstd%2Fstanding-documents%2Fsd-6-sg10-feature-te=
st-recommendations\46sa\75D\46sntz\0751\46usg\75AFQjCNE9iXtekR38eFtgqmELK3r=
w2ss-xw&#39;;return true;" href=3D"http://isocpp.org/std/standing-documents=
/sd-6-sg10-feature-test-recommendations" target=3D"_blank" rel=3D"nofollow"=
>http://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommenda=
tions</a>
<br>
<br>Sentinel compilation would imply a major feature to the language. You c=
an=20
<br>already do that with a configure script, if you want, though.
<br>
<br>--=20
<br>Thiago Macieira - thiago (AT) <a onmousedown=3D"this.href=3D&#39;http:/=
/www.google.com/url?q\75http%3A%2F%2Fmacieira.info\46sa\75D\46sntz\0751\46u=
sg\75AFQjCNEswDUBNCNanbu7euhqLn_62FW8ag&#39;;return true;" onclick=3D"this.=
href=3D&#39;http://www.google.com/url?q\75http%3A%2F%2Fmacieira.info\46sa\7=
5D\46sntz\0751\46usg\75AFQjCNEswDUBNCNanbu7euhqLn_62FW8ag&#39;;return true;=
" href=3D"http://macieira.info" target=3D"_blank" rel=3D"nofollow">macieira=
..info</a> - thiago (AT) <a onmousedown=3D"this.href=3D&#39;http://www.googl=
e.com/url?q\75http%3A%2F%2Fkde.org\46sa\75D\46sntz\0751\46usg\75AFQjCNHGRJd=
o5_JYG1DowztwAHAKs80XSA&#39;;return true;" onclick=3D"this.href=3D&#39;http=
://www.google.com/url?q\75http%3A%2F%2Fkde.org\46sa\75D\46sntz\0751\46usg\7=
5AFQjCNHGRJdo5_JYG1DowztwAHAKs80XSA&#39;;return true;" href=3D"http://kde.o=
rg" target=3D"_blank" rel=3D"nofollow">kde.org</a>
<br>=C2=A0 =C2=A0Software Architect - Intel Open Source Technology Center
<br>=C2=A0 =C2=A0 =C2=A0 PGP/GPG: 0x6EF45358; fingerprint:
<br>=C2=A0 =C2=A0 =C2=A0 E067 918B B660 DBD1 105C =C2=A0966C 33F5 F005 6EF4=
 5358
<br>
<br></blockquote></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_1_57966111.1437958996966--
------=_Part_0_1499831596.1437958996961--

.
