From: | Peter Geoghegan <pg(at)heroku(dot)com> |
---|---|
To: | Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | Compiler warning |
Date: | 2015-10-08 21:16:57 |
Message-ID: | CAM3SWZRR4=aPjyQDiGygfiFFb9jBe_=stDp-SvFhy0=2z84S=A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2015-10-08 23:25:54 | Re: Re: In-core regression tests for replication, cascading, archiving, PITR, etc. |
Previous Message | Robert Haas | 2015-10-08 20:04:44 | Re: Getting sorted data from foreign server |