220 14159 <78562060.n2aCaEuNFS@tjmaciei-mobl4> article
Path: news.gmane.org!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: #pragma once
Date: Thu, 23 Oct 2014 10:29:34 -0700
Lines: 27
Approved: news@gmane.org
Message-ID: <78562060.n2aCaEuNFS@tjmaciei-mobl4>
References: <3d0ab5b0-73d9-434a-9ae4-cd47d8275590@isocpp.org> <BLU436-SMTP2398601B414C8CBCA1B25EBA7920@phx.gbl> <311385fb-551f-49c1-bb31-9d93af348b30@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: ger.gmane.org 1414085388 1775 80.91.229.3 (23 Oct 2014 17:29:48 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 23 Oct 2014 17:29:48 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBAXWUSRAKGQEJSKDCAI@isocpp.org Thu Oct 23 19:29:43 2014
Return-path: <std-proposals+bncBCB4TK757YBRBAXWUSRAKGQEJSKDCAI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lb0-f197.google.com ([209.85.217.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCB4TK757YBRBAXWUSRAKGQEJSKDCAI@isocpp.org>)
	id 1XhMCh-0004hO-IB
	for gclcip-std-proposals@m.gmane.org; Thu, 23 Oct 2014 19:29:39 +0200
Original-Received: by mail-lb0-f197.google.com with SMTP id p9sf854462lbv.4
        for <gclcip-std-proposals@m.gmane.org>; Thu, 23 Oct 2014 10:29:39 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:to:subject:date:message-id:user-agent
         :in-reply-to:references:mime-version:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=1erZK6KxbjndTVju5urVq5eK6sC8bYQOEmLCZfza/Pk=;
        b=Ke4rqkNaPYfsDWwNuxKDNMcT00pVN+TiXdTR9+gaYLVs5+nYJB19pW8Juss2EgiCTi
         s5WnXHpN2pCgnHjUV9A52LWt8W93IO2/ifloxJxkl8GjeLMBzjklHw24pKkfALNrHGBK
         dLXlUOxS9iz/I9VPbjCK6H3oSjTiIliJFBwivuJ88u+VllEWywN1nVkuZiHYKmm5X2b6
         S/PE/FmY8X+gxKNbctxdWoFAt7rPMGH+5CqFhPNeM+40auu+B/Jjr6qEH594Ovf5YNKa
         XZK71PB9K0crbj7xnfuZcBKCbgF5J7Wmv3t+B1MWsxRdsNavhOxkkHuWqZX1crgfTz6n
         gPyg==
X-Gm-Message-State: ALoCoQn4G7a65SHG8KlO8mdER6hHM/iosBrDf2ZD/acfiXbAS9ID4tOomavVR9gXEsOqqvWIbhaU
X-Received: by 10.112.225.135 with SMTP id rk7mr1328816lbc.6.1414085379369;
        Thu, 23 Oct 2014 10:29:39 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.152.206.106 with SMTP id ln10ls325901lac.103.gmail; Thu, 23
 Oct 2014 10:29:37 -0700 (PDT)
X-Received: by 10.152.120.199 with SMTP id le7mr6500242lab.67.1414085377684;
        Thu, 23 Oct 2014 10:29:37 -0700 (PDT)
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [2a01:4f8:d13:f81:21c:14ff:fe01:12a3])
        by mx.google.com with ESMTP id la5si3594710lac.99.2014.10.23.10.29.37
        for <std-proposals@isocpp.org>;
        Thu, 23 Oct 2014 10:29:37 -0700 (PDT)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3 as permitted sender) client-ip=2a01:4f8:d13:f81:21c:14ff:fe01:12a3;
Original-Received: from tjmaciei-mobl4.localnet (unknown [134.134.139.76])
	by gondolin.macieira.info (Postfix) with ESMTPSA id B906C11B69A
	for <std-proposals@isocpp.org>; Thu, 23 Oct 2014 10:29:36 -0700 (PDT)
User-Agent: KMail/4.14 (Linux/3.11.10-21-desktop; KDE/4.14.0; x86_64; ; )
In-Reply-To: <311385fb-551f-49c1-bb31-9d93af348b30@isocpp.org>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3
 as permitted sender) smtp.mail=thiago@macieira.org
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <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:14159
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/14159>

On Thursday 23 October 2014 05:41:53 Germinolegrand wrote:
> I wish so much I could use clang... such a great compiler :-).
> But when a compiler has to analyse code patterns, I believe those should at 
> least be turned into a "language" feature, #once <tag>.

I completely disagree. Taking what you said to the extreme would change the 
language completely.

Clang is very good at providing warnings, like "you're memcpying to an object 
with virtual table". There are few reasons why you'd want to do that, but they 
exist, so it's the correct solution for the compiler to warn you instead of 
making it an error.

-- 
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/.

.
