Compiler warning
От | Peter Geoghegan |
---|---|
Тема | Compiler warning |
Дата | |
Msg-id | CAM3SWZRR4=aPjyQDiGygfiFFb9jBe_=stDp-SvFhy0=2z84S=A@mail.gmail.com обсуждение исходный текст |
Ответы |
Re: Compiler warning
|
Список | pgsql-hackers |
Commit 7e2a18a9 must have caused this compiler warning which I now see on the master branch with my standard release build settings: gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -g3 -gdwarf-4 -Werror -I. -I../../../../src/include -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -c -o logicalfuncs.o logicalfuncs.c -MMD -MP -MF .deps/logicalfuncs.Po postmaster.c: In function ‘ServerLoop’: postmaster.c:1777:9: error: ‘now’ may be used uninitialized in this function [-Werror=maybe-uninitialized] (now - AbortStartTime) >= SIGKILL_CHILDREN_AFTER_SECS) ^ cc1: all warnings being treated as errors make[3]: *** [postmaster.o] Error 1 -- Peter Geoghegan
В списке pgsql-hackers по дате отправления: