220 14150 <BLU436-SMTP2398601B414C8CBCA1B25EBA7920@phx.gbl> article
Path: news.gmane.org!not-for-mail
From: =?UTF-8?B?QWd1c3TDrW4gSy1iYWxsbyBCZXJnw6k=?= <kaballo86@hotmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: #pragma once
Date: Thu, 23 Oct 2014 09:20:56 -0300
Lines: 42
Approved: news@gmane.org
Message-ID: <BLU436-SMTP2398601B414C8CBCA1B25EBA7920@phx.gbl>
References: <3d0ab5b0-73d9-434a-9ae4-cd47d8275590@isocpp.org> <bdd66089-f184-4793-abae-6c00737291d0@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Trace: ger.gmane.org 1414066868 24593 80.91.229.3 (23 Oct 2014 12:21:08 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 23 Oct 2014 12:21:08 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBD2JZ7PP7QERBKXFUORAKGQEDPW53BI@isocpp.org Thu Oct 23 14:21:03 2014
Return-path: <std-proposals+bncBD2JZ7PP7QERBKXFUORAKGQEDPW53BI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ob0-f198.google.com ([209.85.214.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBD2JZ7PP7QERBKXFUORAKGQEDPW53BI@isocpp.org>)
	id 1XhHO0-0003vX-Uo
	for gclcip-std-proposals@m.gmane.org; Thu, 23 Oct 2014 14:21:01 +0200
Original-Received: by mail-ob0-f198.google.com with SMTP id wp4sf3858723obc.9
        for <gclcip-std-proposals@m.gmane.org>; Thu, 23 Oct 2014 05:20:59 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to
         :subject:references:in-reply-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:content-type:content-transfer-encoding;
        bh=Q8Q+aVzJw3FXSqNBeMP0n3cW1y9X5qlgnJDFjCvx1eY=;
        b=GBa0n/QJm5z0ZUgoIJm6Svaj+yAwA11JxJAsWWNwtnO6AlEztfry7ng3zTcY8bTt9T
         8/HcB4kYqvIP9mqdjMk9oPvgpNMAJ7tKT6tUN9qdp/XNA/s3jPj4RGsfMVqBxqLAMnq0
         IFIXkKjopP3eZ7sjFZT3Jk8AdLrhzcNL67Sk18MK5jojmWvDsIZ8a9J7wq3s0cRi1G59
         960M0XXNUNfxAsu2xp82FGh4/V9HLzU/oOEK51zC8SvHzS4z/kQanjTe2pzwmePvFyU3
         QBdPoCoB8Ix8SAEaycFg2Y3nWPmc/iJS0m1nHO+qMFuwAqX3L+XrWODHA46PNIsq3uDG
         EKa 
X-Gm-Message-State: ALoCoQkz8tEzJqROfsGf4Z9Aq+awSIetsj6LeFQh4IWK+vZbvDBUJWmETrFdCriVv1E6rJ1/wk7X
X-Received: by 10.182.98.232 with SMTP id el8mr3124276obb.42.1414066859023;
        Thu, 23 Oct 2014 05:20:59 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.90.20 with SMTP id w20ls1122851qgd.97.gmail; Thu, 23 Oct
 2014 05:20:58 -0700 (PDT)
X-Received: by 10.224.14.67 with SMTP id f3mr6667509qaa.104.1414066858498;
        Thu, 23 Oct 2014 05:20:58 -0700 (PDT)
Original-Received: from BLU004-OMC1S18.hotmail.com (blu004-omc1s18.hotmail.com. [65.55.116.29])
        by mx.google.com with ESMTPS id y6si2677798qat.14.2014.10.23.05.20.58
        for <std-proposals@isocpp.org>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
        Thu, 23 Oct 2014 05:20:58 -0700 (PDT)
Received-SPF: pass (google.com: domain of kaballo86@hotmail.com designates 65.55.116.29 as permitted sender) client-ip=65.55.116.29;
Original-Received: from BLU436-SMTP239 ([65.55.116.9]) by BLU004-OMC1S18.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751);
	 Thu, 23 Oct 2014 05:20:58 -0700
X-TMN: [rgXARWxng7ZkoUjo3KZZxD1W4ee6UwAw]
X-Originating-Email: [kaballo86@hotmail.com]
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
In-Reply-To: <bdd66089-f184-4793-abae-6c00737291d0@isocpp.org>
X-OriginalArrivalTime: 23 Oct 2014 12:20:56.0738 (UTC) FILETIME=[CC16E020:01CFEEBB]
X-Original-Sender: kaballo86@hotmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of kaballo86@hotmail.com designates 65.55.116.29 as permitted sender) smtp.mail=kaballo86@hotmail.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:14150
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/14150>

On 10/23/2014 6:04 AM, Germinolegrand wrote:
> Seriously, I'm fed up with debugging those kind of errors no compiler
> can even diagnose properly ! Just helped a (not so) beginner stuck with
> this one :
>
> #ifndef CSCWRITER_H_
> # define CSVWRITER_H_
>
>
> Erreur 88 error C2995: 'CSV::Writer &CSV::operator <<(CSV::Writer
> &,const T &)' : mod=C3=A8le de fonction d=C3=A9j=C3=A0 d=C3=A9fini CSVWri=
ter.hxx 12
>

Clang 3.4 says:

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_ ^~~~~~~~~~~~

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.

Live demo here: http://melpon.org/wandbox/permlink/4ZNSw5ijsqIoTrOp

Regards,
--=20
Agust=C3=ADn K-ballo Berg=C3=A9.-
http://talesofcpp.fusionfenix.com

--=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/.

.
