220 29235 <3454801.ONyH2fmSmH@tjmaciei-mobl1> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: [RFC] #pragma once... yes, really...
 (concrete proposal)
Date: Sat, 29 Oct 2016 09:12:53 -0700
Lines: 23
Approved: news@gmane.org
Message-ID: <3454801.ONyH2fmSmH@tjmaciei-mobl1>
References: <58122C8D.9060205@gmail.com> <5813ADD2.5070609@gmail.com> <20161028210832.GA5300@noemi>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: blaine.gmane.org 1477757588 5171 195.159.176.226 (29 Oct 2016 16:13:08 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sat, 29 Oct 2016 16:13:08 +0000 (UTC)
User-Agent: KMail/5.3.2 (Linux/4.8.3-1-default; KDE/5.26.0; x86_64; ; )
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBCEV2PAAKGQEUEOZ2MQ@isocpp.org Sat Oct 29 18:13:04 2016
Return-path: <std-proposals+bncBCB4TK757YBRBCEV2PAAKGQEUEOZ2MQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wm0-f70.google.com ([74.125.82.70])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCB4TK757YBRBCEV2PAAKGQEUEOZ2MQ@isocpp.org>)
	id 1c0WFa-0008AT-Ap
	for gclcip-std-proposals@m.gmane.org; Sat, 29 Oct 2016 18:12:54 +0200
Original-Received: by mail-wm0-f70.google.com with SMTP id 68sf18990919wmz.5
        for <gclcip-std-proposals@m.gmane.org>; Sat, 29 Oct 2016 09:12:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=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:x-spam-checked-in-group
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=YEjHZwFwuwifrOa+YsQ68EudSPIIZF3V5tbk+XBGg3Y=;
        b=raSFw9CJXfsW8BjccjHDWtBTKtuxKL8CINRH1heVwxVeIukyx0nkJwYLfFZ73gwxhX
         Dhm8N/hu4ajsr6XTwUzE9WLzPXMOC6/mBfP3RnjO+bYPilAQphThfm6ve2hz49r4Z4hk
         E0MLo5ytZKfnp8xxOKbagFqOdRc46cldRl8cOnbLRKj6jf7hivw2qRWDwP644pRh9AM3
         7tbkA3T115qhJq1xedrSmOFYV0D1O2Eyy7rdjNY560jz3DWWDEZhtaqmcO3bhH48ut8Q
         CeNS1rzwFsJyGNWZ5qov/t4Gp2NyavH1wt51nNVScQoDFpVWRk6IqjmJFwFyTZNTXCJd
         ZR/g==
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:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=YEjHZwFwuwifrOa+YsQ68EudSPIIZF3V5tbk+XBGg3Y=;
        b=YlfvJOFylIncPMYNMf7y+UhXbDU90grocdJ1Gyae/org8L8OS8oM+GNrClFzFwGyNO
         Pi92b41+xV7nLIZd7AQc3FZSeN1qn+zmiSJ+4bumEFs/23KvzC7Nf4spIfJ6oc3zLdBZ
         5p+34+o8uSIx7gLWpsLG0YMmljhPs879anwVTS6VbqHAIrHYfnA0RZjZsXlez0wEt76O
         ze/T5s1vXxJj5tZxpE+aXDE6VTemNFXye48Q4+N3+DEYwLN4HaRdhXqF+KRFnx4Yr5yF
         PSQxA054IGzKvMRO07GyuojCmkUEhePyEGKf5ntrHNwBf7bMjzYkSkVykwh3G7PZg/AX
         5pPQ==
X-Gm-Message-State: ABUngve9djEA5EtAOIzRDZJoGP0dE6V++Fnm2klbbVL8XZ5XOFKNi6EuLXoZmj+CETr8oQ==
X-Received: by 10.28.25.132 with SMTP id 126mr281744wmz.20.1477757577045;
        Sat, 29 Oct 2016 09:12:57 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.28.38.6 with SMTP id m6ls885269wmm.3.canary-gmail; Sat, 29 Oct
 2016 09:12:55 -0700 (PDT)
X-Received: by 10.28.113.18 with SMTP id m18mr3371148wmc.101.1477757575843;
        Sat, 29 Oct 2016 09:12:55 -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 r132si13313334wme.125.2016.10.29.09.12.55
        for <std-proposals@isocpp.org>;
        Sat, 29 Oct 2016 09:12:55 -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-mobl1.localnet (unknown [IPv6:2601:1c0:4501:5f9f:f4c1:eb56:9248:8f39])
	by gondolin.macieira.info (Postfix) with ESMTPSA id 48F2411AAF7
	for <std-proposals@isocpp.org>; Sat, 29 Oct 2016 09:12:55 -0700 (PDT)
In-Reply-To: <20161028210832.GA5300@noemi>
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.mailfrom=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: <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:29235
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/29235>

On sexta-feira, 28 de outubro de 2016 23:08:32 PDT Magnus Fromreide wrote:
> I think that is a mistake and that a "string" would be much better for the
> version argument. The reason  is that I imagine that it would be pretty
> useful to write
> 
> #once my::awesome::library "$Revision$"
> 
> and have the VCS handle the generation and updating of the version field.

And that's something you *shouldn't* do because if someone has a different 
checkout of the same header elsewhere in their build tree, with some typos 
corrected, it would be included and cause a build error.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

-- 
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/3454801.ONyH2fmSmH%40tjmaciei-mobl1.

.
