Re: BUG #13898: ecpg complains on nested comments in /usr/pgsql-9.4/include/informix/esql/datetime.h

From: Vladimir Zvagolskiy <Vladimir(dot)Zvagolskiy(at)nasdaq(dot)com>
To: Michael Meskes <meskes(at)postgresql(dot)org>
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13898: ecpg complains on nested comments in /usr/pgsql-9.4/include/informix/esql/datetime.h
Date: 2016-02-01 10:23:00
Message-ID: ad9edc5ecaef42cebbfb6d8fe192b554@se10mbx02.org.nasdaqomx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Michael,

I've installed from yum repository for RHEL7, that was the latest 9.3.x version available.

Here is the small test that throws the error:

[vlzv(at)inetlinux10 ecpg_9.4_issue]$ cat simple.ec
EXEC SQL include datetime;

[vlzv(at)inetlinux10 ecpg_9.4_issue]$ /usr/pgsql-9.4/bin/ecpg -C INFORMIX -I /usr/pgsql-9.4/include/informix/esql simple.ec
/usr/pgsql-9.4/include/informix/esql/datetime.h:9: ERROR: nested /* ... */ comments

Thanks again!

Cheers,
Vlad

-----Original Message-----
From: Michael Meskes [mailto:meskes(at)postgresql(dot)org]
Sent: Monday, 1 February 2016 8:44 PM
To: Vladimir Zvagolskiy <Vladimir(dot)Zvagolskiy(at)nasdaq(dot)com>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>; pgsql-bugs(at)postgresql(dot)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 08:59:17AM +0000, Vladimir Zvagolskiy wrote:
> No, I do see problems with 9.3.5.

Any reason why you're on 9.3.5 and not a later 9.3 version?

> 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.

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.
***********************************************************

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Meskes 2016-02-01 10:48:05 Re: BUG #13898: ecpg complains on nested comments in /usr/pgsql-9.4/include/informix/esql/datetime.h
Previous Message Tom Lane 2016-02-01 09:56:44 Re: BUG #13898: ecpg complains on nested comments in /usr/pgsql-9.4/include/informix/esql/datetime.h