From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Meskes <meskes@postgresql.org>
Cc: Vladimir Zvagolskiy <Vladimir.Zvagolskiy@nasdaq.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13898: ecpg complains on nested comments in /usr/pgsql-9.4/include/informix/esql/datetime.h
Date: Mon, 01 Feb 2016 10:56:44 +0100
Message-ID: <68728.1454320604@sss.pgh.pa.us> (raw)
In-Reply-To: <20160201094337.GA9280@feivel>
References: <20160129002202.2534.66092@wrigleys.postgresql.org>
<1454155301.23207.80.camel@postgresql.org>
<37edb08437e746b9bfa4d430ec4f738a@se10mbx02.org.nasdaqomx.com>
<20160201085656.GA5967@feivel>
<5dd13ee64104460c83de2e113a5907ce@se10mbx02.org.nasdaqomx.com>
<20160201094337.GA9280@feivel>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Michael Meskes <meskes@postgresql.org> writes:
> On Mon, Feb 01, 2016 at 08:59:17AM +0000, Vladimir Zvagolskiy wrote:
>> Until I've done the described modification in datetime.h
> Anyway, I cannot see a nested comment in that version either. Could you send a small test case to reproduce? Thanks.
It seems a bit fishy that the comment in question starts on an #if line
and ends on an ordinary line. I am not sure what the C standard says
about such cases, but I can certainly imagine that some tools might not
be very happy with that.
It looks like that code was last touched by pgindent in d747140279426607:
-#ifndef _ECPGLIB_H /* source created by ecpg which defines these symbols */
+#ifndef _ECPGLIB_H /* source created by ecpg which defines these
+ * symbols */
Perhaps that was a bad change, and you should make it look like
/* helpful comment here */
#ifndef _ECPGLIB_H
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, meskes@postgresql.org, Vladimir.Zvagolskiy@nasdaq.com
Subject: Re: BUG #13898: ecpg complains on nested comments in /usr/pgsql-9.4/include/informix/esql/datetime.h
In-Reply-To: <68728.1454320604@sss.pgh.pa.us>
References: <20160129002202.2534.66092@wrigleys.postgresql.org> <1454155301.23207.80.camel@postgresql.org> <37edb08437e746b9bfa4d430ec4f738a@se10mbx02.org.nasdaqomx.com> <20160201085656.GA5967@feivel> <5dd13ee64104460c83de2e113a5907ce@se10mbx02.org.nasdaqomx.com> <20160201094337.GA9280@feivel> <68728.1454320604@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox