220 14153 <311385fb-551f-49c1-bb31-9d93af348b30@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Germinolegrand <germinolegrand@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: #pragma once
Date: Thu, 23 Oct 2014 05:41:53 -0700 (PDT)
Lines: 104
Approved: news@gmane.org
Message-ID: <311385fb-551f-49c1-bb31-9d93af348b30@isocpp.org>
References: <3d0ab5b0-73d9-434a-9ae4-cd47d8275590@isocpp.org> <bdd66089-f184-4793-abae-6c00737291d0@isocpp.org>
 <BLU436-SMTP2398601B414C8CBCA1B25EBA7920@phx.gbl>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_695_1647771071.1414068113895"
X-Trace: ger.gmane.org 1414068121 22575 80.91.229.3 (23 Oct 2014 12:42:01 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 23 Oct 2014 12:42:01 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCD6BLGH7YNBBEXPUORAKGQE7W7ENUQ@isocpp.org Thu Oct 23 14:41:57 2014
Return-path: <std-proposals+bncBCD6BLGH7YNBBEXPUORAKGQE7W7ENUQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pa0-f72.google.com ([209.85.220.72])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCD6BLGH7YNBBEXPUORAKGQE7W7ENUQ@isocpp.org>)
	id 1XhHiG-0006Am-FU
	for gclcip-std-proposals@m.gmane.org; Thu, 23 Oct 2014 14:41:56 +0200
Original-Received: by mail-pa0-f72.google.com with SMTP id kx10sf4876743pab.3
        for <gclcip-std-proposals@m.gmane.org>; Thu, 23 Oct 2014 05:41:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe
         :content-type;
        bh=BZht499ViISvMI64JxHho7l3TZ5YS6JcmJxRbvL7Cxw=;
        b=mxQ7yl3is8bVOSEArK8xjlv406OjOyb/hTkPyrYAZmaYXbGNy6Nkha3ufjQQWRC0Sl
         HbTBc6wHHHkkANtBAuvRSTYO/pd/pMRoPuSzDIij2Z+FWR4WVOHstEjVgUjxVy5UUqQK
         meOK+sTqgOUvXnDs3eXniH573krct0+Fs65hLikKJFdOLEX0WBbetdjLYyb/3MAlzfuB
         835LXmHR3Yby+N6FBiFsV1kGvmS4lHOuGncte9DlqT0Onopa+lqo+jMvpruzMY1YIoB4
         nygDxgAgLseMqREwO+3yJ27uzEVTtMOlMYa2Lhyh7WPIctwZo56iPftr+VPcnEHeqfNu
         LChQ==
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:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type;
        bh=BZht499ViISvMI64JxHho7l3TZ5YS6JcmJxRbvL7Cxw=;
        b=PxkxuLM6rratKq7xin9TEHN3qU084oGHN+d7sheLICR8TnZjNhmyCVAe5QYCU7Q0NF
         YGwJteS5wO2zcaQJ157cBXCYrjboiMQrPV4S0TKWCTuWkZx10cx7vUBQSa8RMTRmuRnZ
         Brn2XDLMpYXiLm6WDhZJpjSTWjL16FsoAetVaQDoFDnmjlVHGTZqCc8ALHJQbHWrXLaH
         2cpINTwa2ZgtW8skM0SwvvsDAvwk6BdLx5mBJtZu9DasDTuHSsR1n9gDVkC0SQeJDUrD
         WxFaP/l3aAUdCFn1Iyjgsc9FnIliL48IeLx0s4RZc7eh9viBT0wk/c5BdGFhb0pc2CMG
         kRzA==
X-Gm-Message-State: ALoCoQl3mkQkNRMgejy/FJkvciNIxn68fgT8CAPUIOncsIyTtAdvO62tDRGKd66LwMK1EX/Rt22G
X-Received: by 10.70.54.37 with SMTP id g5mr3098236pdp.3.1414068115243;
        Thu, 23 Oct 2014 05:41:55 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.35.104 with SMTP id m95ls1154597qgm.22.gmail; Thu, 23 Oct
 2014 05:41:54 -0700 (PDT)
X-Received: by 10.140.22.239 with SMTP id 102mr62586qgn.1.1414068114124;
        Thu, 23 Oct 2014 05:41:54 -0700 (PDT)
In-Reply-To: <BLU436-SMTP2398601B414C8CBCA1B25EBA7920@phx.gbl>
X-Original-Sender: germinolegrand@gmail.com
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:14153
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/14153>

------=_Part_695_1647771071.1414068113895
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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=
=20
least be turned into a "language" feature, #once <tag>.
Anyway, this leaves us with the other half, still unsolved even on clang.

Le jeudi 23 octobre 2014 14:20:59 UTC+2, Agust=C3=ADn K-ballo Berg=C3=A9 a =
=C3=A9crit :

>
> Clang 3.4 says:=20
>
> prog.cc:1:9: warning: 'CSCWRITER_H_' is used as a header guard here,=20
> followed by #define of a different macro [-Wheader-guard] #ifndef=20
> CSCWRITER_H_ ^~~~~~~~~~~~=20
>
> prog.cc:2:10: note: 'CSVWRITER_H_' is defined here; did you mean=20
> 'CSCWRITER_H_'? # define CSVWRITER_H_ ^~~~~~~~~~~~ CSCWRITER_H_ 1=20
> warning generated.=20
>
> Live demo here: http://melpon.org/wandbox/permlink/4ZNSw5ijsqIoTrOp=20
>
> Regards,=20
> --=20
> Agust=C3=ADn K-ballo Berg=C3=A9.-=20
> http://talesofcpp.fusionfenix.com=20
>

--=20

---=20
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 e=
mail 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-proposa=
ls/.

------=_Part_695_1647771071.1414068113895
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I wish so much I could use clang... such a great compiler =
:-).<br>
But when a compiler has to analyse code patterns, I believe those should
 at least be turned into a "language" feature, #once &lt;tag&gt;.<br>
Anyway, this leaves us with the other half, still unsolved even on clang.<b=
r><br>Le jeudi 23 octobre 2014 14:20:59 UTC+2, Agust=C3=ADn K-ballo Berg=C3=
=A9 a =C3=A9crit&nbsp;:<br><blockquote class=3D"gmail_quote" style=3D"margi=
n: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">
<br>Clang 3.4 says:
<br>
<br>prog.cc:1:9: warning: 'CSCWRITER_H_' is used as a header guard here,=20
<br>followed by #define of a different macro [-Wheader-guard] #ifndef=20
<br>CSCWRITER_H_ ^~~~~~~~~~~~
<br>
<br>prog.cc:2:10: note: 'CSVWRITER_H_' is defined here; did you mean=20
<br>'CSCWRITER_H_'? # define CSVWRITER_H_ ^~~~~~~~~~~~ CSCWRITER_H_ 1=20
<br>warning generated.
<br>
<br>Live demo here: <a href=3D"http://melpon.org/wandbox/permlink/4ZNSw5ijs=
qIoTrOp" target=3D"_blank" onmousedown=3D"this.href=3D'http://www.google.co=
m/url?q\75http%3A%2F%2Fmelpon.org%2Fwandbox%2Fpermlink%2F4ZNSw5ijsqIoTrOp\4=
6sa\75D\46sntz\0751\46usg\75AFQjCNEhFIpJgj2UfXCe3u5AQLljxvoqZA';return true=
;" onclick=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2Fmelpo=
n.org%2Fwandbox%2Fpermlink%2F4ZNSw5ijsqIoTrOp\46sa\75D\46sntz\0751\46usg\75=
AFQjCNEhFIpJgj2UfXCe3u5AQLljxvoqZA';return true;">http://melpon.org/wandbox=
/<wbr>permlink/4ZNSw5ijsqIoTrOp</a>
<br>
<br>Regards,
<br>--=20
<br>Agust=C3=ADn K-ballo Berg=C3=A9.-
<br><a href=3D"http://talesofcpp.fusionfenix.com" target=3D"_blank" onmouse=
down=3D"this.href=3D'http://www.google.com/url?q\75http%3A%2F%2Ftalesofcpp.=
fusionfenix.com\46sa\75D\46sntz\0751\46usg\75AFQjCNGrOc8fm1PhW0305mMc5XVd9N=
U-_Q';return true;" onclick=3D"this.href=3D'http://www.google.com/url?q\75h=
ttp%3A%2F%2Ftalesofcpp.fusionfenix.com\46sa\75D\46sntz\0751\46usg\75AFQjCNG=
rOc8fm1PhW0305mMc5XVd9NU-_Q';return true;">http://talesofcpp.fusionfenix.<w=
br>com</a>
<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_695_1647771071.1414068113895--

.
