Re: [HACKERS] --enable-debug

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] --enable-debug
Дата
Msg-id 200001260604.BAA23774@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] --enable-debug  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> Currently, I believe -Wall is turned on automatically if your compiler
> >> is gcc --- at least it seems to work that way on my platform (maybe
> >> it's in the hpux_gcc template?).  Anyway I get a pretty good set of -W
> >> options without doing anything special.
> 
> > I remember when we removed every warning gcc -Wall complained about.
> 
> Um, did we stop?
> 
> In my experience, gcc is an excellent detector of portability problems.
> I believe that it is good practice to crank gcc's warning level out
> to the max, and to fix everything that it complains about.
> 

No, we fixed all the code gcc warned about.  Our code is 100% clean. 
The only problems are fork() handling, and patches people have submitted
that were not 100% clean and will be fixed before final.

--  Bruce Momjian                        |  http://www.op.net/~candle 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,
Pennsylvania19026
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] --enable-debug
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: Happy column adding (was RE: [HACKERS] Happy column dropping)