Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDutM-0005Mo-EZ for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Dec 2016 15:09:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cDutM-0000i6-1P for pgsql-hackers@arkaria.postgresql.org; Mon, 05 Dec 2016 15:09:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cDutL-0000hz-Gf for pgsql-hackers@postgresql.org; Mon, 05 Dec 2016 15:09:19 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cDutA-0006k6-3c; Mon, 05 Dec 2016 15:09:18 +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 uB5F95dM032051; Mon, 5 Dec 2016 10:09:05 -0500 From: Tom Lane To: Michael Paquier cc: Robert Haas , PostgreSQL mailing lists Subject: Re: [COMMITTERS] pgsql: Introduce dynamic shared memory areas. In-reply-to: References: Comments: In-reply-to Michael Paquier message dated "Mon, 05 Dec 2016 04:18:55 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <32049.1480950545.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 05 Dec 2016 10:09:05 -0500 Message-ID: <32050.1480950545@sss.pgh.pa.us> X-Pg-Spam-Score: -4.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 Michael Paquier writes: > This commit is generating a warning when compiling on my Win7 dev box: dromedary has this: ccache gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-s= tatement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-s= trict-aliasing -fwrapv -g -O2 -ansi -I../../../../src/include -DCOPY_PARSE_= PLAN_TREES -DRAW_EXPRESSION_COVERAGE_TEST -c -o network_selfuncs.o networ= k_selfuncs.c dsa.c: In function 'dsa_dump': dsa.c:1106: warning: format '%016lx' expects type 'long unsigned int', but = argument 3 has type 'dsa_pointer' dsa.c:1106: warning: format '%016lx' expects type 'long unsigned int', but = argument 4 has type 'dsa_pointer' dsa.c: In function 'make_new_segment': dsa.c:2039: warning: left shift count >=3D width of type dsa.c:2039: warning: left shift count >=3D width of type dsa.c:2077: warning: left shift count >=3D width of type The first two of those should be fixed by 670b3bc8f, but the shift problems remain. 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