pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vladimir Zvagolskiy <Vladimir.Zvagolskiy@nasdaq.com>
To: Michael Meskes <meskes@postgresql.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
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, 1 Feb 2016 11:19:58 +0000
Message-ID: <3a5863381f494ee7935e640fe02d1d01@se10mbx02.org.nasdaqomx.com> (raw)
In-Reply-To: <20160201104805.GA11054@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>
	<68728.1454320604@sss.pgh.pa.us>
	<20160201104805.GA11054@feivel>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hi Michael, Tom,

We use gcc-4.9.1, but it is ecpg pre-compiler that throws the error.
I'm not familiar with pg_indent.


Cheers,
Vlad


-----Original Message-----
From: Michael Meskes [mailto:meskes@postgresql.org] 
Sent: Monday, 1 February 2016 9:48 PM
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Meskes <meskes@postgresql.org>; Vladimir Zvagolskiy <Vladimir.Zvagolskiy@nasdaq.com>; pgsql-bugs@postgresql.org
Subject: Re: [BUGS] BUG #13898: ecpg complains on nested comments in /usr/pgsql-9.4/include/informix/esql/datetime.h

On Mon, Feb 01, 2016 at 10:56:44AM +0100, Tom Lane wrote:
> 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.

Very good catch. Vladimir, which compiler are you using?

> It looks like that code was last touched by pgindent in d747140279426607:

Let me guess, pg_indent?

It sure looks like it.

Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL

***********************************************************
CONFIDENTIALITY NOTICE: This e-mail and any attachments are for the exclusive and confidential use of the intended recipient and may constitute non-public information. If you received this e-mail in error, disclosing, copying, distributing or taking any action in reliance of this e-mail is strictly prohibited and may be unlawful. Instead, please notify us immediately by return e-mail and promptly delete this message and its attachments from your computer system. We do not waive any work product or other applicable legal privilege(s) by the transmission of this message.
***********************************************************

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


view thread (13+ messages)  latest in thread

Message-ID: <3a5863381f494ee7935e640fe02d1d01@se10mbx02.org.nasdaqomx.com>
Permalink:  ../3a5863381f494ee7935e640fe02d1d01@se10mbx02.org.nasdaqomx.com/
Also on:    postgresql.org/message-id/3a5863381f494ee7935e640fe02d1d01@se10mbx02.org.nasdaqomx.com

 · 

reply

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: Vladimir.Zvagolskiy@nasdaq.com, meskes@postgresql.org, tgl@sss.pgh.pa.us
  Subject: Re: BUG #13898: ecpg complains on nested comments in /usr/pgsql-9.4/include/informix/esql/datetime.h
  In-Reply-To: <3a5863381f494ee7935e640fe02d1d01@se10mbx02.org.nasdaqomx.com>
  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> <20160201104805.GA11054@feivel> <3a5863381f494ee7935e640fe02d1d01@se10mbx02.org.nasdaqomx.com>

* 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