ECPG is okay again

Started by Michael Meskesabout 24 years ago3 messages
#1Michael Meskes
meskes@postgresql.org

I added several error messages and hopefully by doing this removed all
possibilities for a segfault.

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

#2Oleg Bartunov
oleg@sai.msu.su
In reply to: Michael Meskes (#1)
Re: ECPG is okay again

In current CVS I've got;

gcc -O2 -mpentiumpro -Wall -Wmissing-prototypes -Wmissing-declarations -I./../include -I../../../../src/include -DMAJOR_VERSION=2 -DMINOR_VERSION=9 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/usr/local/pgsql/include\" -c -o descriptor.o descriptor.c
descriptor.c: In function CPGnumeric_lvalue':
descriptor.c:63: incompatible type for argument 2 of
merror'
descriptor.c:63: too few arguments to function
merror'
descriptor.c: In function rop_descriptor':
descriptor.c:124: incompatible type for argument 2 of
merror'
descriptor.c:124: too few arguments to function
merror'
descriptor.c: In function ookup_descriptor':
descriptor.c:147: incompatible type for argument 2 of
merror'
descriptor.c:147: too few arguments to function
merror'
descriptor.c: In function tput_get_descr_header':
descriptor.c:164: incompatible type for argument 2 of
merror'
descriptor.c:164: too few arguments to function
merror'
descriptor.c: In function tput_get_descr':

This is a Linux, glibc 2.1.3

Oleg

On Sun, 9 Dec 2001, Michael Meskes wrote:

I added several error messages and hopefully by doing this removed all
possibilities for a segfault.

Michael

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

#3Michael Meskes
meskes@postgresql.org
In reply to: Oleg Bartunov (#2)
Re: ECPG is okay again

On Mon, Dec 10, 2001 at 03:39:45PM +0300, Oleg Bartunov wrote:

In current CVS I've got;

gcc -O2 -mpentiumpro -Wall -Wmissing-prototypes -Wmissing-declarations -I./../include -I../../../../src/include -DMAJOR_VERSION=2 -DMINOR_VERSION=9 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/usr/local/pgsql/include\" -c -o descriptor.o descriptor.c
descriptor.c: In function CPGnumeric_lvalue':
...

Oops, sorry, seems I forgot two files. Thanks for the report. Just committed
these two files.

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