220 29214 <db03c96d-6c85-8dce-3a63-626b1e21c7e4@gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Miro Knejp <miro.knejp@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: pragma once
Date: Fri, 28 Oct 2016 20:57:33 +0200
Lines: 33
Approved: news@gmane.org
Message-ID: <db03c96d-6c85-8dce-3a63-626b1e21c7e4@gmail.com>
References: <CAGz9X0c=CNLVEGgJ7=GJ2W+7fsvN7h+tbiFyf5Cx3aab0Xb=rQ@mail.gmail.com>
 <ec5fe60a-f88b-7b68-856e-0de1b18db5af@gmail.com>
 <02DE7398-BA53-4C5C-82AB-C9116244406E@gmail.com>
 <2024406.5c6iCQq5hH@tjmaciei-mobl1>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Trace: blaine.gmane.org 1477680968 576 195.159.176.226 (28 Oct 2016 18:56:08 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 28 Oct 2016 18:56:08 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101
 Thunderbird/45.4.0
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC6ONSXJ54LBBNF6Z3AAKGQEPZPDCLI@isocpp.org Fri Oct 28 20:56:04 2016
Return-path: <std-proposals+bncBC6ONSXJ54LBBNF6Z3AAKGQEPZPDCLI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lf0-f69.google.com ([209.85.215.69])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBC6ONSXJ54LBBNF6Z3AAKGQEPZPDCLI@isocpp.org>)
	id 1c0CJe-0005u5-HK
	for gclcip-std-proposals@m.gmane.org; Fri, 28 Oct 2016 20:55:46 +0200
Original-Received: by mail-lf0-f69.google.com with SMTP id b75sf19145603lfg.3
        for <gclcip-std-proposals@m.gmane.org>; Fri, 28 Oct 2016 11:55:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=subject:to:references:from:message-id:date:user-agent:mime-version
         :in-reply-to:content-transfer-encoding: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=XR+jEHdLdV7vGkiauIwfWOSBenT0v/gL+WvolIuF5kY=;
        b=upxR048Q+7hx1xvlcfBkthZaYgr4xx5tNAxfatILXO01X5doUs1zcteOFSxeHq/bcB
         0tcYZC88uIDRl5i8fgaCzCKWMW9VarXuxhIJDpU3GpCCh+ovQGpwt9/WmopHRTnUBn3z
         O+esV9J6tcSU0gh+GToVFr+jgqVQ8acg6M1VKQ+6tJi9Fn5wO6w9bKAlpTBKT7w9EnPI
         gJ4luowZCO6VkltaxbhfER+H2t6ySZYtdPRiXBho2Njm7T1pjt4tp9wd5c4bNP5EiW/e
         /+ifrtg4BOmkxzosO8Uper2oWvt84qqpoGfNECiJpV7GcGd56mmoy0UE4343xIuXG0K3
      
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:subject:to:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-transfer-encoding
         :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=XR+jEHdLdV7vGkiauIwfWOSBenT0v/gL+WvolIuF5kY=;
        b=JKAx2xDQLrVnvDDKflxJVMX4uW7bZeHxT2SSyKR4un6xNtDbyUM5zzS3rToiVO0sSr
         +h0TnZrT9keORk3WD3Y/5xdvaunb16fxazZVuxj3q9oOM8W5T6veKNyyjzTDiczSROR/
         gcjF+NzsnVYznPSJveCWdUod4Hke0xlCrnOJSIDczcieDhQbPGjYm3Yab1AEOzJjdmwr
         hFbFYFZxHeC07tGNA61EbJ1ejnEqbtZIDdUKUyNA1Tdwc0w5zKTQw84gU1Yix7AE2b15
         spOdJcc8st/BtRmtRjE5XJFqx2HlPa1Pj3jhXghKiqFTL7b84bswlICaNvrqFwbwQOvI
  
X-Gm-Message-State: ABUngvfUYasCMVeqdnlwrDLmCqu2z6iPzQ77sqE7vfeQ2x7NJUSIJHIle68BbPcKvH08Rg==
X-Received: by 10.25.202.85 with SMTP id h21mr1350587lfj.0.1477680949221;
        Fri, 28 Oct 2016 11:55:49 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.28.209.78 with SMTP id i75ls568459wmg.9.canary-gmail; Fri, 28
 Oct 2016 11:55:47 -0700 (PDT)
X-Received: by 10.194.78.130 with SMTP id b2mr12483285wjx.29.1477680947872;
        Fri, 28 Oct 2016 11:55:47 -0700 (PDT)
Original-Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com. [2a00:1450:400c:c09::22e])
        by mx.google.com with ESMTPS id yo8si10454465wjc.268.2016.10.28.11.55.47
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 28 Oct 2016 11:55:47 -0700 (PDT)
Received-SPF: pass (google.com: domain of miro.knejp@gmail.com designates 2a00:1450:400c:c09::22e as permitted sender) client-ip=2a00:1450:400c:c09::22e;
Original-Received: by mail-wm0-x22e.google.com with SMTP id p190so30370144wmp.1
        for <std-proposals@isocpp.org>; Fri, 28 Oct 2016 11:55:47 -0700 (PDT)
X-Received: by 10.28.15.17 with SMTP id 17mr144675wmp.55.1477680947342;
        Fri, 28 Oct 2016 11:55:47 -0700 (PDT)
Original-Received: from [192.168.42.16] (ppp-93-104-124-59.dynamic.mnet-online.de. [93.104.124.59])
        by smtp.gmail.com with ESMTPSA id kq7sm15472737wjb.0.2016.10.28.11.55.46
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 28 Oct 2016 11:55:46 -0700 (PDT)
In-Reply-To: <2024406.5c6iCQq5hH@tjmaciei-mobl1>
X-Original-Sender: miro.knejp@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 miro.knejp@gmail.com designates 2a00:1450:400c:c09::22e as permitted sender)
 smtp.mailfrom=miro.knejp@gmail.com;       dmarc=pass (p=NONE 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-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:29214
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/29214>

Am 28.10.2016 um 17:51 schrieb Thiago Macieira:
> Em sexta-feira, 28 de outubro de 2016, =C3=A0s 17:07:42 PDT, Miro Knejp e=
screveu:
>> So you risk ending up using two versions of the same library in one
>> executable? Yeah, right. That=E2=80=99s not going to cause problems at a=
ll. I=E2=80=99m
>> sorry but if one file includes "lib/1.1/lib.h" and another
>> =E2=80=9Clib/latest/lib.h=E2=80=9D you really aren=E2=80=99t far away fr=
om shooting yourself in the
>> foot.
> It can happen if the buildsystem does realname() and inserts the necessar=
y -I
> switches.
>
> Moreover, remember that the problem happens at the time of the compilatio=
n of
> the application on the user's machine, not on the application developer's
> machine. You don't know what crazy things the user may do.
>
Honestly there is only a limited set of "crazy things" I'm willing to=20
prepare for when writing a library. Just because people can do some=20
things doesn't mean they should. There are limits to everything.

--=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.
To view this discussion on the web visit https://groups.google.com/a/isocpp=
..org/d/msgid/std-proposals/db03c96d-6c85-8dce-3a63-626b1e21c7e4%40gmail.com=
..

.
