From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id AC324952 for ; Tue, 5 Apr 2016 01:05:15 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 04 Apr 2016 16:05:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,442,1455004800"; d="scan'208";a="925372937" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga001.jf.intel.com with ESMTP; 04 Apr 2016 16:03:22 -0700 Received: from fmsmsx102.amr.corp.intel.com ([169.254.10.110]) by FMSMSX105.amr.corp.intel.com ([169.254.4.115]) with mapi id 14.03.0248.002; Mon, 4 Apr 2016 16:03:21 -0700 From: "Wiles, Keith" To: Thomas Monjalon CC: "dev@dpdk.org" , "Xie, Huawei" , "yuanhan.liu@linux.intel.com" , "adrien.mazarguil@6wind.com" Thread-Topic: [dpdk-dev] [PATCH] gcc compiler option -Og warnings fix Thread-Index: AQHRjEuYlXzXoRnifEm30j4QSOnCOZ96VFsAgABA8IA= Date: Mon, 4 Apr 2016 23:03:20 +0000 Message-ID: References: <1459538419-81284-1-git-send-email-keith.wiles@intel.com> <22459074.ccNYgpjxy1@xps13> In-Reply-To: <22459074.ccNYgpjxy1@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.46.10] Content-Type: text/plain; charset="utf-8" Content-ID: <661604D7CCAD64479EED197EEBC736B8@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] gcc compiler option -Og warnings fix 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: Mon, 04 Apr 2016 23:05:16 -0000 PjIwMTYtMDQt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