Re: [GENERAL] Version 7.0 beta problem

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Mark Jewiss <mark(dot)jewiss(at)knowledge(dot)com>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] Version 7.0 beta problem
Date: 2000-03-04 17:06:11
Message-ID: Pine.LNX.4.21.0003040418470.489-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Mark Jewiss writes:

> 04:25pm mark(at)mark:~/src/pgsql/src/bin/psql $ sudo gmake
[snip]
> gcc -I../../interfaces/libpq -I../../include -I../../backend -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -c mainloop.c -o mainloop.o
> mainloop.c: In function `MainLoop':
> mainloop.c:43: warning: variable `successResult' might be clobbered by `longjmp' or `vfork'
> mainloop.c:44: warning: variable `slashCmdStatus' might be clobbered by `longjmp' or `vfork'
> mainloop.c:47: warning: variable `in_quote' might be clobbered by `longjmp' or `vfork'
[etc]

I thought I had shut up those warnings by making the variables in question
volatile. There's no need to worry about them since they're re-initialized
right after the longjmp, but does anyone know how to shut up the compiler?

> gcc -I../../interfaces/libpq -I../../include -I../../backend -O2 -pipe
> -Wall -
> Wmissing-prototypes -Wmissing-declarations -c tab-complete.c -o
> tab-complete.o
> tab-complete.c: In function `psql_completion':
> tab-complete.c:535: `filename_completion_function' undeclared (first use
> in this
> function)
> tab-complete.c:535: (Each undeclared identifier is reported only once
> tab-complete.c:535: for each function it appears in.)
> gmake: *** [tab-complete.o] Error 1
> 04:25pm mark(at)mark:~/src/pgsql/src/bin/psql $

Aye, there's the rub. One more of these and I'm yanking every trace of
readline out of psql. ;) Another configure test, another subtle functional
difference as the consequence ...

--
Peter Eisentraut Sernanders väg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2000-03-04 17:06:37 Re: BIT/BIT VARYING names (was Re: [HACKERS] Beta for 4:30AST)
Previous Message Peter Eisentraut 2000-03-04 17:05:54 Re: [BUGS] grant/revoke bug with delete/update