From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f48.google.com (mail-oi0-f48.google.com [209.85.218.48]) by dpdk.org (Postfix) with ESMTP id C6CA537AA for ; Fri, 2 Sep 2016 12:49:37 +0200 (CEST) Received: by mail-oi0-f48.google.com with SMTP id c15so155782178oig.0 for ; Fri, 02 Sep 2016 03:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=APG7xfOJFmHX4IqCYdMDlOqyKK/giM2/iDWvJJMyTRc=; b=SGNwowDPbWS2sOzDoXwjc21AEnjmEWBPKI4eSCXqRBf+nz68xIrCVC3I306fhZUj8/ +kcZ17HDk7RBr0noM4GQzu+GKP2T/xpFx9inKbDzb7avb8HZw20yRLmSs7tmMUcYxweV KNJZts45DZhc48Z6N5+wnEmaeqV2jfpMb3jLaKSoPWliSOc9Ija7phFSMqry58tq/c4K 2AfoHds4gBGviw1clsQwWzcg9JF8z33aFAJtGlPeU7tPbwZN5+HHcopih+tlGE3UhZs5 a2Os96mSqTM0x7RznbojDqag+3XlqjjXF4/afu4zJPmz9DCXy7zaCGwtOHuNVUMJ0R9H Ni9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=APG7xfOJFmHX4IqCYdMDlOqyKK/giM2/iDWvJJMyTRc=; b=F3IZlZ4PLY70kYfGxu7hqKenQNP6qFa8KO79dIOWd8Y4iVNA81ynAdOqMKeZd3wtme Ebyo0Tx1qyNVcc15BepxML6M1d0UTRYVtgZUAzbYlwOvKnUh9tOuMCa6dYwMD94vUghu 6avl8sPsLO2HvWdbuFMHAhDbnMvVE7DmDfvMiBZS6Oh3lDSPl6NrRrEy4mmMsvzd/haY qm2pa29CTyEy2Br20BReeNDmA6cdBDRxjpt5/bmXL7uq7N7jZl7K0A6RGwO3gBxGl9mg WKmBLWmXAlYxaH/GggKowA+k8p0t2pg2kjZzXqkwJ0HGjAfUJhklz+q2wNcyt/kTgJiN tFfA== X-Gm-Message-State: AE9vXwOyYASqDcC34gQdSVN1Pns89EE966DLwec7xaEaIs3RGtM9q6FHUB91NHEFG7TS1Rdyf/4y17jr0SUe7w== X-Received: by 10.157.26.53 with SMTP id a50mr286608ote.34.1472813377004; Fri, 02 Sep 2016 03:49:37 -0700 (PDT) MIME-Version: 1.0 Sender: bsdasm@gmail.com Received: by 10.202.77.143 with HTTP; Fri, 2 Sep 2016 03:49:16 -0700 (PDT) From: ASM Date: Fri, 2 Sep 2016 13:49:16 +0300 X-Google-Sender-Auth: J5H4xMkDLX9xsg6_o7s4L_OHsvQ Message-ID: To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 Subject: [dpdk-dev] Build with -Werror=declaration-after-statement X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2016 10:49:38 -0000 Hi folks! Many groups have flag -Werror=declaration-after-statement in the their coding conventions. Dpdk have many code as static inline function in the headers files and have trouble with it. For example: * lib/librte_ether/rte_ether.h, function rte_vlan_strip * lib/librte_eal/common/include/rte_dev.h, function rte_pmd_debug_trace * lib/librte_eal/common/include/arch/x86/rte_spinlock.h, fucntion rte_try_tm Any project who use -Werror=declaration-after-statement can't to compile own projects without patching this headers. How do you look at to fix this problem? --- Best regards, Leonid Myravjev