Re: [GENERAL] Version 7.0 beta problem

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [GENERAL] Version 7.0 beta problem
Дата
Msg-id Pine.LNX.4.21.0003040418470.489-100000@localhost.localdomain
обсуждение исходный текст
Ответы Re: [HACKERS] Re: [GENERAL] Version 7.0 beta problem
Список pgsql-hackers
Mark Jewiss writes:

> 04:25pm mark@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@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@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: BIT/BIT VARYING names (was Re: [HACKERS] Beta for 4:30AST)
Следующее
От: Peter Eisentraut
Дата:
Сообщение: ACL enhancements (was Re: [HACKERS] Re: [PATCHES] NO-CREATE-TABLE and NO-LOCK-TABLE)