Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TKwJZ-0002PJ-Fx for pgsql-bugs@postgresql.org; Sun, 07 Oct 2012 19:15:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TKwJU-0003Rr-A1 for pgsql-bugs@postgresql.org; Sun, 07 Oct 2012 19:15:01 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q97JEsEA015811; Sun, 7 Oct 2012 15:14:54 -0400 (EDT) From: Tom Lane To: John Marino cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7588: pgsql 9.1 incompatible with zlib 1.27 In-reply-to: <5071C248.5020206@marino.st> References: <13048.1349627764@sss.pgh.pa.us> <5071B902.6030505@marino.st> <14190.1349631338@sss.pgh.pa.us> <5071C248.5020206@marino.st> Comments: In-reply-to John Marino message dated "Sun, 07 Oct 2012 19:56:24 +0200" Date: Sun, 07 Oct 2012 15:14:54 -0400 Message-ID: <15810.1349637294@sss.pgh.pa.us> X-Pg-Spam-Score: -4.0 (----) X-Archive-Number: 201210/49 X-Sequence-Number: 34349 John Marino writes: > By the way, I also had to patch 9.1.6 in order to build it with gcc47: > http://pkgsrc.se/files.php?messageId=20121007102454.6E70D175DD@cvs.netbsd.org [ shrug... ] I just tried 9.1.6 with gcc 4.7.0 and 4.7.2 on Fedora, and saw nothing but a handful of cosmetic warnings. I see the same on our buildfarm member anchovy, which is running 4.7.1 on Arch Linux. We generally don't bother to fix cosmetic warnings introduced by new toolchains except in HEAD; it's just not worth the trouble. gcc in particular seems to move the goalposts constantly, and most of the warnings they've introduced recently are pure pedantry anyway (IMO). The comments attached to your patches suggest that you saw errors rather than warnings, but if so you've got distro-specific compiler bugs to deal with. There is nothing even faintly non-legitimate about the code chunks you changed. regards, tom lane