Re: ecpg+AIX 5L compile failure with current

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: ecpg+AIX 5L compile failure with current
Date: 2001-11-21 05:03:23
Message-ID: 200111210503.fAL53NJ19736@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
> > Just a quick news.
> > gmake[4]: Entering directory `/mnt/t-ishii/pgsql/src/interfaces/ecpg/preproc'
> > /usr/vac/bin/xlc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong -I./../include -I../../../../src/include -DMAJOR_VERSION=2 -DMINOR_VERSION=9 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/usr/local/pgsql/include\" -c -o variable.o variable.c
> > 325 | // mmerror(ET_FATAL, "No multilevel (more than 2) pointer supported %d",pointer_len);
> > a....................................................................................b..........
> > a - 1506-046 (S) Syntax error.
> > b - 1506-099 (S) Unexpected argument.
>
>
> Does this compiler not like // comments? I thought we'd made a pass of
> cleaning those out recently, but obviously one's snuck into ecpg ...

Yes, // came in with:

date: 2001/11/16 08:36:37; author: meskes; state: Exp; lines: +24 -7
Committed again to add the missing files/patches.

Of course, this was post pgindent. Fix applied, // -> /* */.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-11-21 05:41:49 Re: beta3
Previous Message Tom Lane 2001-11-21 04:38:40 Re: ecpg+AIX 5L compile failure with current