ecpg+AIX 5L compile failure with current

Started by Tatsuo Ishiiabout 24 years ago5 messages
#1Tatsuo Ishii
t-ishii@sra.co.jp

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Tatsuo Ishii (#1)
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 ...

regards, tom lane

#3Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Tom Lane (#2)
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
#4Tatsuo Ishii
t-ishii@sra.co.jp
In reply to: Tom Lane (#2)
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.

Show quoted text

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

#5Michael Meskes
meskes@postgresql.org
In reply to: Bruce Momjian (#3)
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!