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.
gmake[4]: *** [variable.o] Error 1
--
Tatsuo Ishii

Wed, 21 Nov 2001 12:47:06 +0900
Tatsuo Ishii <t-ishii@sra.co.jp>
ecpg+AIX 5L compile failure with current
Tatsuo Ishii <t-ishii@sra.co.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 ...

			regards, tom lane

Tue, 20 Nov 2001 23:38:40 -0500
Tom Lane <tgl@sss.pgh.pa.us>
Re: ecpg+AIX 5L compile failure with current 
> Tatsuo Ishii <t-ishii@sra.co.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@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Wed, 21 Nov 2001 00:03:23 -0500 (EST)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: ecpg+AIX 5L compile failure with current
> > 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?

Right.

> I thought we'd made a pass of
> cleaning those out recently, but obviously one's snuck into ecpg ...

Wed, 21 Nov 2001 15:57:25 +0900
Tatsuo Ishii <t-ishii@sra.co.jp>
Re: ecpg+AIX 5L compile failure with current 
On Wed, Nov 21, 2001 at 12:03:23AM -0500, Bruce Momjian wrote:
> 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.

Sorry, I didn't check the patch I applied carefully enough.

Michael
-- 
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

Wed, 21 Nov 2001 10:27:24 +0100
Michael Meskes <meskes@postgresql.org>
Re: ecpg+AIX 5L compile failure with current