220 15444 <553ADC24-E379-4E6B-9C46-C5B0229A2F46@gmail.com> article
Path: news.gmane.org!not-for-mail
From: David Krauss <potswa@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Multiple files inclusion in single line
Date: Sun, 4 Jan 2015 12:36:26 +0800
Lines: 127
Approved: news@gmane.org
Message-ID: <553ADC24-E379-4E6B-9C46-C5B0229A2F46@gmail.com>
References: <68aabb4d-d894-4548-8708-8bca910dace1@isocpp.org> <6e48e6d0-602f-4101-a564-6be3b46ff397@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
Content-Type: multipart/alternative; boundary="Apple-Mail=_27372630-60D5-4E6B-AB5D-45E61773E0AD"
X-Trace: ger.gmane.org 1420346204 27054 80.91.229.3 (4 Jan 2015 04:36:44 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 4 Jan 2015 04:36:44 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCW25A7E3QCRBUUGUOSQKGQE4NQU2VY@isocpp.org Sun Jan 04 05:36:37 2015
Return-path: <std-proposals+bncBCW25A7E3QCRBUUGUOSQKGQE4NQU2VY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pd0-f197.google.com ([209.85.192.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCW25A7E3QCRBUUGUOSQKGQE4NQU2VY@isocpp.org>)
	id 1Y7cvc-0000yR-Mt
	for gclcip-std-proposals@m.gmane.org; Sun, 04 Jan 2015 05:36:36 +0100
Original-Received: by mail-pd0-f197.google.com with SMTP id v10sf156853530pde.4
        for <gclcip-std-proposals@m.gmane.org>; Sat, 03 Jan 2015 20:36:35 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:content-type:message-id:mime-version
         :subject:date:references:to: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;
        bh=6d9IPEtr9UjMVFIj87Kl85X+N8ODlqfCK+XhGqw9N/M=;
        b=i4hSVFJV0H4JLp0BH4tWGTTNsr6jeKimrRUhuHAsThzDAoYc9y3EMOhON8hR0Ofb4y
         Fq6DSFsRdh22khyFz+PRDGo+7csRyg5FKV8CDGb+b1PUXGZ9EuLsua7z/3oU9GQt5ICV
         Xh4IQpgXRmpn82cwEri5Ytj8HvJLapYx8GNfitbUQ2lGE8SmfYSkuW12kM+nhXe0z9f3
         HrQkOUKkS8eK70LGPLqkRVLLq9OTfVVA1a4XbQUmJkGPp++Ji0/6RSjLpzdxZiklJTdp
         Lwwbr71+coe4UL+rxYYLxIZ1C8l1VdUKGlDItEvhwWvKAAv7AYpGz96FIwG7c6e2xSlK
         KLWA==
X-Gm-Message-State: ALoCoQmU/6s3HTkAt/BZ/CwnNE5NNe6e+mEwlQ/8SL9ihB/CAsWdiRLjCxrUpr4948TfFyvbQrSn
X-Received: by 10.70.140.206 with SMTP id ri14mr3419528pdb.9.1420346195447;
        Sat, 03 Jan 2015 20:36:35 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.164.217 with SMTP id d86ls6708483ioj.60.gmail; Sat, 03 Jan
 2015 20:36:34 -0800 (PST)
X-Received: by 10.68.225.193 with SMTP id rm1mr136670220pbc.77.1420346194627;
        Sat, 03 Jan 2015 20:36:34 -0800 (PST)
Original-Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com. [2607:f8b0:400e:c03::234])
        by mx.google.com with ESMTPS id dr6si49814455pdb.16.2015.01.03.20.36.34
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sat, 03 Jan 2015 20:36:34 -0800 (PST)
Received-SPF: pass (google.com: domain of potswa@gmail.com designates 2607:f8b0:400e:c03::234 as permitted sender) client-ip=2607:f8b0:400e:c03::234;
Original-Received: by mail-pa0-f52.google.com with SMTP id eu11so26241825pac.25
        for <std-proposals@isocpp.org>; Sat, 03 Jan 2015 20:36:34 -0800 (PST)
X-Received: by 10.70.88.9 with SMTP id bc9mr74695915pdb.145.1420346194313;
        Sat, 03 Jan 2015 20:36:34 -0800 (PST)
Original-Received: from [172.20.10.2] ([121.54.44.89])
        by mx.google.com with ESMTPSA id t9sm50552361pbs.75.2015.01.03.20.36.31
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Sat, 03 Jan 2015 20:36:33 -0800 (PST)
In-Reply-To: <6e48e6d0-602f-4101-a564-6be3b46ff397@isocpp.org>
X-Mailer: Apple Mail (2.1993)
X-Original-Sender: potswa@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of potswa@gmail.com designates 2607:f8b0:400e:c03::234 as permitted
 sender) smtp.mail=potswa@gmail.com;       dkim=pass header.i=@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: <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:15444
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/15444>

--Apple-Mail=_27372630-60D5-4E6B-AB5D-45E61773E0AD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8


> On 2015=E2=80=9301=E2=80=9303, at 6:15 PM, Ramaswamy B.A <ramaswamy.be@gm=
ail.com> wrote:
>=20
> It is just my  idea. I am not part of the any preprocessor/compiler devel=
opment team. So can't implement and test this one.

You can submit a GCC or Clang patch without joining any team. For GCC, you=
=E2=80=99ll need either a legal registration with GNU or a registered spons=
or.

> The variadic macros are exist with  current preprocessor, but with this  =
not possible cover my requirements
> Like parsing the file name and expand to  complete file, and similar to  =
Bash shell file notation:=20
> Eg: File inclusion like  : /usr/local/Cellar/boost/1.55.0_2/include/boost=
/{regex,python,ratio}.hpp

Variadic macros and preprocessor metaprocessing can already support somethi=
ng like

#define INCLUDE_BOOST( LIBS ) (/usr/local/Cellar/boost/1.55.0_2/include/boo=
st/) (LIBS) (.hpp)
#define INCLUDE_PATTERN INCLUDE_BOOST( regex,python,ratio )
#include "include_multiple.h"

But, why are you using a global path??

> So preprocessor has to be modified.
>=20
> If many people agreed we can try to implement  and test preprocessor.

Open source works a lot better when someone takes more individual initiativ=
e.

> Is any body in the group from GCC Development team?
> (So can take help to get gcc preprocessor code and modify and test.)


You can try doing it yourself, and ask on the GCC mailing lists if you get =
stuck and need help. This is not the appropriate forum for GCC development =
discussion.

--=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/.

--Apple-Mail=_27372630-60D5-4E6B-AB5D-45E61773E0AD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charset=
=3Dutf-8"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;" class=3D""><br class=3D""><di=
v><blockquote type=3D"cite" class=3D""><div class=3D"">On 2015=E2=80=9301=
=E2=80=9303, at 6:15 PM, Ramaswamy B.A &lt;<a href=3D"mailto:ramaswamy.be@g=
mail.com" class=3D"">ramaswamy.be@gmail.com</a>&gt; wrote:</div><br class=
=3D"Apple-interchange-newline"><div class=3D""><div style=3D"font-family: H=
elvetica; font-size: 12px; font-style: normal; font-variant: normal; font-w=
eight: normal; letter-spacing: normal; line-height: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: nor=
mal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" clas=
s=3D"">It is just my &nbsp;idea. I am not part of the any preprocessor/comp=
iler development team. So can't implement and test this one.</div></div></b=
lockquote></div><br class=3D""><div class=3D"">You can submit a GCC or Clan=
g patch without joining any team. For GCC, you=E2=80=99ll need either a leg=
al registration with GNU or a registered sponsor.</div><div class=3D""><br =
class=3D""></div><div class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D""><div class=3D"">The variadic macros are exist with &nbsp;current=
 preprocessor, but with this &nbsp;not possible cover my requirements</div>=
<div class=3D"">Like parsing the file name and expand to &nbsp;complete fil=
e, and similar to &nbsp;Bash shell file notation:&nbsp;</div><div class=3D"=
">Eg: File inclusion like &nbsp;:&nbsp;<span class=3D"" style=3D"line-heigh=
t: 18px;">/usr/local/Cellar/boost/1.55.0_2/include/boost/{regex,python,rati=
o}.hpp</span></div></div></blockquote><div class=3D""><br class=3D""></div>=
<div class=3D"">Variadic macros and preprocessor metaprocessing can already=
 support something like</div><div class=3D""><br class=3D""></div><div clas=
s=3D""><span style=3D"font-family: Courier;" class=3D"">#define INCLUDE_BOO=
ST( LIBS )&nbsp;</span><span style=3D"font-family: Courier;" class=3D"">(/u=
sr/local/Cellar/boost/1.55.0_2/include/boost/) (LIBS) (.hpp)</span></div><d=
iv class=3D""><font face=3D"Courier" class=3D"">#define INCLUDE_PATTERN INC=
LUDE_BOOST( regex,python,ratio )</font></div><div class=3D""><span style=3D=
"font-family: Courier;" class=3D"">#include&nbsp;"include_multiple.h"</span=
></div><div class=3D""><br class=3D""></div><div class=3D"">But, why are yo=
u using a global path??</div><br class=3D""><blockquote type=3D"cite" class=
=3D""><div class=3D""><div class=3D"">So preprocessor has to be modified.</=
div><div class=3D""><br class=3D""></div><div class=3D"">If many people agr=
eed we can try to implement &nbsp;and test preprocessor.</div></div></block=
quote><div class=3D""><br class=3D""></div><div class=3D"">Open source work=
s a lot better when someone takes more individual initiative.</div><br clas=
s=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">Is any body in =
the group from GCC Development team?</div><div class=3D"">(So can take help=
 to get gcc preprocessor code and modify and test.)</div></blockquote></div=
><div class=3D""><div class=3D""><div class=3D""><br class=3D""></div></div=
></div><div class=3D"">You can try doing it yourself, and ask on the GCC ma=
iling lists if you get stuck and need help. This is not the appropriate for=
um for GCC development discussion.</div></body></html>

<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 />

--Apple-Mail=_27372630-60D5-4E6B-AB5D-45E61773E0AD--

.
