Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cesox-0007VK-E8 for pgsql-hackers@arkaria.postgresql.org; Sat, 18 Feb 2017 00:24:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cesox-0007D8-13 for pgsql-hackers@arkaria.postgresql.org; Sat, 18 Feb 2017 00:24:15 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cesnY-0005cs-1z for pgsql-hackers@postgresql.org; Sat, 18 Feb 2017 00:22:48 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cesnV-0001sJ-SD for pgsql-hackers@postgresql.org; Sat, 18 Feb 2017 00:22:46 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v1I0Me1Y001051; Fri, 17 Feb 2017 19:22:40 -0500 From: Tom Lane To: Mark Dilger cc: Peter Eisentraut , Thomas Munro , Andres Freund , Pg Hackers , Alvaro Herrera , Andrew Dunstan Subject: Re: pg_recvlogical.c doesn't build with --disable-integer-datetimes In-reply-to: <557D4B59-7ECE-43A5-B0D3-4E1B76DEAA95@gmail.com> References: <20170217181348.a5pnflupslw2t6xx@alvherre.pgsql> <32279.1487355685@sss.pgh.pa.us> <2664.1487360457@sss.pgh.pa.us> <0C821A10-45A2-4112-A1A2-EDAE27712C62@anarazel.de> <16461.1487361849@sss.pgh.pa.us> <19678.1487362865@sss.pgh.pa.us> <557D4B59-7ECE-43A5-B0D3-4E1B76DEAA95@gmail.com> Comments: In-reply-to Mark Dilger message dated "Fri, 17 Feb 2017 16:10:47 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1049.1487377360.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 17 Feb 2017 19:22:40 -0500 Message-ID: <1050.1487377360@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Mark Dilger writes: >> On Feb 17, 2017, at 3:37 PM, Peter Eisentraut wrote: >> If your compiler isn't warning about anything with that, then there is >> something wrong with it. > $ gcc --version > Configured with: --prefix=3D/Applications/Xcode.app/Contents/Developer/us= r --with-gxx-include-dir=3D/usr/include/c++/4.2.1 > Apple LLVM version 7.3.0 (clang-703.0.31) > Target: x86_64-apple-darwin15.6.0 > Thread model: posix > InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/Xcode= Default.xctoolchain/usr/bin Interesting. That option doesn't seem to do anything on my Mac's compiler either (Apple LLVM version 8.0.0 (clang-800.0.42.1)). However, it surely spews a metric buttload of warnings with RHEL6's gcc. Points up my concern upthread about different peoples' compilers interpreting these less-common switches differently. regards, tom lane --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers