220 40394 <CAHSYqdZcqvC4Len7ewSGr1cxVxaiknnU-mezQSYPmwGz4GsZiA@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Hyman Rosen <hyman.rosen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: =?UTF-8?Q?Re=3A_=5Bstd=2Dproposals=5D_Enforce_explicit_casting_on_assi?=
	=?UTF-8?Q?gnment_and_return_type_=E2=80=98bool=E2=80=99?=
Date: Mon, 8 Oct 2018 16:06:31 -0400
Lines: 64
Approved: news@gmane.org
Message-ID: <CAHSYqdZcqvC4Len7ewSGr1cxVxaiknnU-mezQSYPmwGz4GsZiA@mail.gmail.com>
References: <5df28d28-a2f4-47cd-9da7-49c91ed6d6f4@isocpp.org>
 <CAFk2RUYRWakHS805tNXUnUr71t7+BOOAOHaFdXk_oyfa340Vvg@mail.gmail.com>
 <CAHSYqdaL1J5LquRO9MiWrF0PydGNshF1xvV6O60mu_=PKxz9Sg@mail.gmail.com> <2347972.SxI5vlWqa4@tjmaciei-mobl1>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="000000000000f271750577bd281c"
X-Trace: blaine.gmane.org 1539029079 1304 195.159.176.226 (8 Oct 2018 20:04:39 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Mon, 8 Oct 2018 20:04:39 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDKJJPVBQMKRBVHR53OQKGQEM73JPFA@isocpp.org Mon Oct 08 22:04:34 2018
Return-path: <std-proposals+bncBDKJJPVBQMKRBVHR53OQKGQEM73JPFA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wm1-f70.google.com ([209.85.128.70])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDKJJPVBQMKRBVHR53OQKGQEM73JPFA@isocpp.org>)
	id 1g9bla-0000DQ-Bi
	for gclcip-std-proposals@m.gmane.org; Mon, 08 Oct 2018 22:04:34 +0200
Original-Received: by mail-wm1-f70.google.com with SMTP id z187-v6sf6819955wmb.3
        for <gclcip-std-proposals@m.gmane.org>; Mon, 08 Oct 2018 13:06:45 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1539029205; cv=pass;
        d=google.com; s=arc-20160816;
        b=KgsscaLmo/xYtY/b3V2gw3bCAmUuz4xK5H9+UaEy3JvSamWpyRQg1cYnuD+c6Rn6Bp
         SniI9qMvFptIGonLhiRtFztjJYz4Ujm40hu8SZkPF9hhXFnQQRLcXtEY56qr2lls3bRt
         Tj4569GwvT3Z5ucwavwJJ4ct3yZNYcgU2CNdqEWGl8cWDRDjMrUC5VBs6s8Pk0ga9Xqt
         gJU5A2vEBYoxJSXcRsPqByQtu5a/xn9fM2Vz0RxRvD/ZEZhJTQknnnGZH6EXobnrPYwQ
         UKGtg2DuekraTAqEqPCltfK4yzYXT6dgUS1oDJQNjYpwmlDe7lWhwlR0d7wMBUz4yP/S
         jiGw==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date
         :from:in-reply-to:references:mime-version:dkim-signature;
        bh=uBxY2ydU8TJ4a0K+BYq8bh3Ac+zPipDhAqUS7tfZHsQ=;
        b=vnWkxBOpKs0veCwjCt1jFaDNsLkS24mf5LdizCwMp4p6ThYAyjNqMx3q+tUasLsvZ6
         N4ngvr62zh8vjFp3XzMKlIPBgHktPgTV5HHIouLwYEh0Ghee2uVRUow8nNfgbOe1TXAH
         h2LUvXvMcPnf522naFvmpyp5YUQixHCs6HKwcDxcn4HDz0QxR3o8KrwW7NGl5R0Y7CWt
         /43bIdb1F/gNfX03J5PugSsScMW/ykGAZwSOv+CDD3r6z8w5z7gStmpp3a96F608c8Gl
         3w/BeqqLwdenKDqpy/ezNfBJio3b2vfFST4Maoqk10fK9tGLXNf3OXN5KS9B7d3bDtbB
         bueA==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=E9FwsIQx;
       spf=pass (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=hyman.rosen@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:references:in-reply-to:from:date:message-id:subject:to
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=uBxY2ydU8TJ4a0K+BYq8bh3Ac+zPipDhAqUS7tfZHsQ=;
        b=V1I9bINKV9y87QGoDHpHae5El09B53OGtHqZLnDjq9TGCAf0IwPJxeoX6gVfn7mD1n
         GiILAvYFTVHQMF6sMZqNn/JU9oNdJS26sCRnYkIniC9vEafJMwNrjshmXHPmqCuRNRPI
         oi3VqCk2NXekWcfwnTtAA6z5XsyVeiylIcM610bv+CJYg7L7JvdhwKqHiDv8fT19cIqc
         +EvbFruUyn9CxNmMOkd0o46INu//+dEb7s0S6/rz3TCm2q4tDq/oxI9dj3kfjHon2Xmn
         HVd6hPoX7xSjpFJVWzDj87ItQZ2jBks9Tnss/gBcGi32P0IzIDGMMLgdlyfscikzWyxE
         kXIQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=uBxY2ydU8TJ4a0K+BYq8bh3Ac+zPipDhAqUS7tfZHsQ=;
        b=ew86/7qwmWzyWAeAIoffrW5ztK2IJrJPZLIOlDPNrZ+nF+mQngN+s7a8da5vAfud/K
         VGdCWf+WVt7Q76nNg4qQMlwIJkrqWieD5tO/Sfc/2VzZsFDuXO+FZyHtFeHXSmxsyBdo
         W1vEppXtK0jhjnc6ytbNOq/EtrZ37mX+RQNrO4h3DvycjNhh5SXamAoSAe/FBRqxJFUt
         84UDGJU8Ad46Pu5RCsVyEYxI70ZVGD1jloDIWxg61v1VxjPgKHgwxbAdI8sSH1OlLEx3
         caGqoNsVtujMOc9HYp0bfFBKVVPjM3TtKinUg3PfMmL0Mx/b6O5HoLFtpGKVcmka9o7l
         DXYQ==
X-Gm-Message-State: ABuFfog6F0T/lu7EPQDxLCtMun15x2vR6AOyZm68/rIfx7zeuksyUBX1
	8U4en4vQi1fjTED8RZEqUVn6DQ==
X-Google-Smtp-Source: ACcGV62B3v/kH5WhwWZH4FVIVp/TEOpUeXEHhGZwJ/BwyZlm6Sdz54gyrcpdjY5UrMHS5ZSQHEgMjQ==
X-Received: by 2002:a5d:4a0a:: with SMTP id m10-v6mr2270475wrq.27.1539029205176;
        Mon, 08 Oct 2018 13:06:45 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a1c:7d2:: with SMTP id 201-v6ls292044wmh.8.canary-gmail;
 Mon, 08 Oct 2018 13:06:43 -0700 (PDT)
X-Received: by 2002:a1c:1d6:: with SMTP id 205-v6mr16502098wmb.151.1539029203872;
        Mon, 08 Oct 2018 13:06:43 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1539029203; cv=none;
        d=google.com; s=arc-20160816;
        b=Fr++re7PzdZnbzLIgnwTuDesf+CWMaGIvmwOa86z/Vy/JrhcDdCBAVMjXmdT2ig5CW
         gMy7yUZMNyr64Fblj78pdC/LH6dC4HAqKSJoPGrnZmfWpo5fP3lLFdoHOMPDQ3kdw64E
         qldKiegfkVltcn8EzZLP8UTVGrSTJ9BwbKKKoTCp13whlbqaAj16f8c+9zqo5Wtarthk
         8Iw53TqPtB60yYAFkUr7kFgUEzRehrHuOhx1TKaZN8kAWA8PPq6IriXORwI2kwtQMXse
         8EDX2JwlXDmE2UqpqXvbnvoNXLRrzqhGgGL8l9MbbThvYrerbu/yLDJ5DEIMHigFFEBx
         ttSg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=to:subject:message-id:date:from:in-reply-to:references:mime-version
         :dkim-signature;
        bh=e7vbLAWZ4lwM1l5/qYRrGvkM775grt2fv1bGBv/OO+s=;
        b=SyF2S7eCV+7a4WNrXJPPqH6ToTIQhMXi/rtFcqMHvdXMM01U2Jedt8cwyAsGPfPycR
         RzfZJu6CNzaFx7ku8OTNnSt/6SZpO7+LuN2KxSf49zLahohSnZK4jSg2ZMafOLUIlY4C
         xiGlK1QDTKyqK+0VdfJawvNQoA2IwiH7nIuCyHcchtG6DBzdlLqqJCXnGedj6ajmshuN
         2x64G0g0pNYnzphJTt+Y5FFpOy/NRs5F0VbN1exGYfSTmd+P9TAl716btJxR4W9832Ku
         7B6ILuaxjcY9R1OVj6Jf6E0gpj0hy1FGVBX2eYkq/AqyFT5NN9ZDVVxV0LyqWbuGoxXH
         lRoA==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=E9FwsIQx;
       spf=pass (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=hyman.rosen@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id l5-v6sor6650906wmb.17.2018.10.08.13.06.43
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Mon, 08 Oct 2018 13:06:43 -0700 (PDT)
Received-SPF: pass (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 2002:a1c:1a52:: with SMTP id a79-v6mr12760049wma.119.1539029203053;
 Mon, 08 Oct 2018 13:06:43 -0700 (PDT)
In-Reply-To: <2347972.SxI5vlWqa4@tjmaciei-mobl1>
X-Original-Sender: hyman.rosen@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=E9FwsIQx;       spf=pass
 (google.com: domain of hyman.rosen@gmail.com designates 209.85.220.41 as
 permitted sender) smtp.mailfrom=hyman.rosen@gmail.com;       dmarc=pass
 (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://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>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:40394
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/40394>

--000000000000f271750577bd281c
Content-Type: text/plain; charset="UTF-8"

On Mon, Oct 8, 2018 at 3:43 PM Thiago Macieira <thiago@macieira.org> wrote:

> By the same token, warnings need not be discussed in this mailing list
> because
> they are not part of the C++ standard. They are QoI at best.
>

That's not true.  I'm looking at N4741, and it mentions warnings in a
number of places:
[dcl.attr.fallthrough], [dcl.attr.unused], [dcl.attr.nodiscard],
[dcl.attr.noreturn]
They're all in notes and examples, but those are still part of the
standard, and they say
things like "implementations should issue a warning" and "warning ...
discouraged".

-- 
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.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAHSYqdZcqvC4Len7ewSGr1cxVxaiknnU-mezQSYPmwGz4GsZiA%40mail.gmail.com.

--000000000000f271750577bd281c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr">On Mon, Oct 8, 2018 a=
t 3:43 PM Thiago Macieira &lt;<a href=3D"mailto:thiago@macieira.org">thiago=
@macieira.org</a>&gt; wrote:</div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">
By the same token, warnings need not be discussed in this mailing list beca=
use <br>
they are not part of the C++ standard. They are QoI at best.<br></blockquot=
e><div><br>That&#39;s not true.=C2=A0 I&#39;m looking at N4741, and it ment=
ions warnings in a number of places:<br>[dcl.attr.fallthrough],=C2=A0[dcl.a=
ttr.unused],=C2=A0[dcl.attr.nodiscard],=C2=A0[dcl.attr.noreturn]<br>They&#3=
9;re all in notes and examples, but those are still part of the standard, a=
nd they say<br>things like &quot;implementations should issue a warning&quo=
t; and &quot;warning ... discouraged&quot;.</div></div></div></div></div></=
div></div>

<p></p>

-- <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 />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/CAHSYqdZcqvC4Len7ewSGr1cxVxaiknnU-mez=
QSYPmwGz4GsZiA%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">htt=
ps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAHSYqdZcqvC4Len7=
ewSGr1cxVxaiknnU-mezQSYPmwGz4GsZiA%40mail.gmail.com</a>.<br />

--000000000000f271750577bd281c--

.
