Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CCA32200B7A for ; Mon, 5 Sep 2016 17:14:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CB227160ABC; Mon, 5 Sep 2016 15:14:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1E051160AB0 for ; Mon, 5 Sep 2016 17:14:58 +0200 (CEST) Received: (qmail 60353 invoked by uid 500); 5 Sep 2016 15:14:58 -0000 Mailing-List: contact dev-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list dev@hawq.incubator.apache.org Received: (qmail 60340 invoked by uid 99); 5 Sep 2016 15:14:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2016 15:14:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 893D01804C1 for ; Mon, 5 Sep 2016 15:14:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id lFDCUlSy9lAj for ; Mon, 5 Sep 2016 15:14:56 +0000 (UTC) Received: from mail-pf0-f172.google.com (mail-pf0-f172.google.com [209.85.192.172]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id B97585F5A1 for ; Mon, 5 Sep 2016 15:14:55 +0000 (UTC) Received: by mail-pf0-f172.google.com with SMTP id p64so65480331pfb.1 for ; Mon, 05 Sep 2016 08:14:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version; bh=Kw84aprH7R7OUtRCTCl2TZbxzTjHFVtD0WoCE8Bqap8=; b=oguvV5cer6789JTGxIPOR2YlWSHLHyk+uP4FPOMnKndzD9DSrQ+xdYgNgQ7VcwWoFZ nGeTh6m1XVbofxsbobOzOkclIN0TA48uZ44Bu7DBr9WYz+i09ueNYsc2YeIXTSZw/hUW FIjCAUwbw2M3XqX7hnhbDNXJMcopXIw9+E0WLoknLW9dUU5kqoctnQuKfz3sdHwB4mdY bCZQ6c6SelpufiO9KJ+bFskbYbVEf1HcibuZv9/K3wgYVV38uXhCfPwHDpk1jtXEmD5L HKJGEdKEH0ZbH9XgDdAwKgQ/2bG/1DQjwZL2toWQngHL7ggxSq1+w0LMsf+Eqa2xWvCk ZDAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:message-id:in-reply-to:references :subject:mime-version; bh=Kw84aprH7R7OUtRCTCl2TZbxzTjHFVtD0WoCE8Bqap8=; b=QpuyN5Tfv7oGO3ejLXP+22/z8CJJ9se+e45KG4Sr4YjTrBALBKc2StizzBp6pzNxoM 3+yLCtMqCM3Q+dz9glBp/XZwdbPFS9MNsh0jqMX7gKHow9Ca6K/uKhVtwnF0L5x6uJnY Isw96fxAHM7+Ud2Cs80Z3vUCsHvLP04lC8A0Qr+v98G/ZHMlwhRstkRC2l/9/eNXXC0u i2uAwclPNz1br8I08L1OIgc0yReJEMerbeTGbxwfl/laBX4hm4nA9f2Swbg1bBkH9dcI BhYfBwYNWS3F/gmqpx70q8vWALWjad4mlMnMB5G8guTYMCH+T/gfJyJ5N5jyYdxqKlmZ X/rQ== X-Gm-Message-State: AE9vXwP8TARBcA97q1D54Utdpl+mJrZsnHY8gGc8ipkWm9kEidd7Q/I7z6vm8TDCh+jZCw== X-Received: by 10.98.102.209 with SMTP id s78mr12226199pfj.34.1473088494116; Mon, 05 Sep 2016 08:14:54 -0700 (PDT) Received: from mail.outlook.com (ec2-52-37-37-96.us-west-2.compute.amazonaws.com. [52.37.37.96]) by smtp.gmail.com with ESMTPSA id s12sm34250314pfj.73.2016.09.05.08.14.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Sep 2016 08:14:53 -0700 (PDT) Date: Mon, 5 Sep 2016 15:14:52 +0000 (UTC) From: Lei Chang To: dev@hawq.incubator.apache.org, Message-ID: In-Reply-To: References: Subject: Re: enforce -Werror (if gcc) in hawq? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4724_1302701291.1473088492871" X-Mailer: Outlook for iOS and Android archived-at: Mon, 05 Sep 2016 15:15:00 -0000 ------=_Part_4724_1302701291.1473088492871 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit In the past, it is enabled by default. Looks like it is a regression during oss and build refactoring process. Cheers Lei On Mon, Sep 5, 2016 at 6:05 PM +0800, "Paul Guo" wrote: -Werror Make all warnings into errors. I've seen many cases (not just hawq) before that ignoring gcc warning leads to bugs. I'm wondering we should add the option for the gcc case. Given there may be a lot of warnings when building the common postgres code in hawq, we could at least enforce it in our own code at first (src/backend/cdb, src/backend/resourcemanager, src/test/feature, other directories?)? Any suggestion? ------=_Part_4724_1302701291.1473088492871--