Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gqCsK-0002yX-P2 for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Feb 2019 08:11:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gqCsH-00048Y-Jj for pgsql-hackers@arkaria.postgresql.org; Sun, 03 Feb 2019 08:11:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gqCsH-00048K-2J for pgsql-hackers@lists.postgresql.org; Sun, 03 Feb 2019 08:11:33 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gqCsD-00023J-FW for pgsql-hackers@postgresql.org; Sun, 03 Feb 2019 08:11:30 +0000 Received: by mail-pf1-x436.google.com with SMTP id h3so5370375pfg.1 for ; Sun, 03 Feb 2019 00:11:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=DjOHOwF5XDS3TrIEMbJqJ+JyCV3iEHCM3ZlrJ26I+cI=; b=J9AMk+IB/OtA0soBzlEJ1t6KLOGh3WIB5cQoahsTYI6Qv+LxcsJBZrd246dt30PoJa f4jhI4HO3REYCkyO9fjX/d36ZD62v9dLT/UP0Q0TRLNgrL3n0M68LP+NX1Sxv2s/vJlJ FjFYabntvlvwgGgItK2fzgpmvi3VYWhM/mKf8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=DjOHOwF5XDS3TrIEMbJqJ+JyCV3iEHCM3ZlrJ26I+cI=; b=EiLqHs3qYF8DZ+FvVt2L+Mj7yQYRSNAJZGiFXWQ/shVYCV1BXmBjEHBfnR7Kt+JFlT 9A+ZPGMwoZbs/pHFsZ9twCsAQOjTfcO3KhHN4nRBBJQe21pK1QqSH4JmXqvoKROgYr8N NntvfFRuicwu4yEgLJC8wDczZz1hjossHX4GDF5cxyyres4HzvH7VmZcbhG2zM3gWDQE OUJtoZbYSVng/K7IDH9Vcl+kVvEwWLyYU5NAHgwVB1ozcPVDpVG36qnmONKoMt2qHfet jE/b3F+/+YENmPede5OavPsdjQJ4ImXUXzkgytreKcq5Cjc1u2PM8lcHuo/uEuI/3Kt4 awXA== X-Gm-Message-State: AJcUuke0PX09PbYfyXkBgX3HZQjgWeyb5RQiKYYuS2sQ/XwmDwZHLQwP pBTd4+UCAjn9gj9RWG6xcMo0H7FZauc= X-Google-Smtp-Source: ALg8bN70fEfdJ3SwNhbyoJzBu+rbpJQRfBjOMcEahV5uS5IbxM9g+o7soZXoANtJKNszWEAYXI5mjw== X-Received: by 2002:a62:9f1b:: with SMTP id g27mr45059184pfe.87.1549181488084; Sun, 03 Feb 2019 00:11:28 -0800 (PST) Received: from rfd.leadboat.com (108-233-125-46.lightspeed.sntcca.sbcglobal.net. [108.233.125.46]) by smtp.gmail.com with ESMTPSA id h19sm16233762pfn.114.2019.02.03.00.11.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Feb 2019 00:11:27 -0800 (PST) Date: Sun, 3 Feb 2019 00:11:24 -0800 From: Noah Misch To: Andrew Gierth Cc: pgsql-hackers@postgresql.org Subject: Re: Synchronize with imath upstream Message-ID: <20190203081124.GC6226@rfd.leadboat.com> References: <20190203035704.GA6226@rfd.leadboat.com> <87lg2x73cg.fsf@news-spur.riddles.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87lg2x73cg.fsf@news-spur.riddles.org.uk> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sun, Feb 03, 2019 at 07:07:36AM +0000, Andrew Gierth wrote: > In that case I propose that we avoid the whole issue by removing > -Wdeclaration-after-statement entirely. Some folks who skip $SUBJECT will be interested in your proposal. If you wish to pursue that proposal, please start a new thread. On Sun, Feb 03, 2019 at 07:14:13AM +0000, Andrew Gierth wrote: > >>>>> "Noah" == Noah Misch writes: > > Noah> - # -Wdeclaration-after-statement isn't applicable for C++ > Noah> + # -Wdeclaration-after-statement isn't applicable for C++. Specific C files > Noah> + # disable it, so AC_SUBST the negative form. > Noah> + PERMIT_DECLARATION_AFTER_STATEMENT= > Noah> + if test x"$save_CFLAGS" != "$CFLAGS"; then > > Missing "x" here? > > + if test x"$save_CFLAGS" != x"$CFLAGS"; then I'll incorporate your fix. Thanks.