From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id CD65658D9 for ; Tue, 5 Jul 2016 14:33:55 +0200 (CEST) Received: by mail-wm0-f53.google.com with SMTP id z126so73720310wme.0 for ; Tue, 05 Jul 2016 05:33:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=/A2K0po1AiATiHUSsQuBUUG0H6D4o7X3tvqIgPSrZuU=; b=WNgG8mfQNCi3gNr2mIeQVzuLRsvjcjDsIUJeVuWRDur4U0NMC7wZFKb+oR8/P94PHJ uF8ZaKbNLoFaUKh11K6GYcpfOxyFpxPJA6vq0x2I8rWzZYttsD8QJFqF3Zsoi0pp7Y4Y 1CsnanbesHoKT2NQhIUyrKT9Mm4fHbTpRBPYRfuYzCCXQ09kdSzsr/z95B3ihrZfF57g wC5/vm+J9KgQvCUd1B1I/9K1Ix+HQ+6uppuumLOPFMsgghMHq+tIXsr8eE1DBxUI1Rcl yohg9wONbI+93UepHKHNFJFrB2fXdksxNGU2YjiCEhSSA8/H4oVbWHrQk7y1GimVXdji KMcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=/A2K0po1AiATiHUSsQuBUUG0H6D4o7X3tvqIgPSrZuU=; b=JvpSPCQXs5Y/9Tzzz0koA/Aykzk8DyHz8/sk3POVguUyUoUpa2MZbleT6F/olphvH4 19+sUSqR8ZE+7hqJPiHGOMwUA01Tzkgtu6WWOjboH5Fr/D93akFcNGOnaEyhJCrug6aW 3jUmmAFsyvMEpVYahbj39W0Ip0ned/R/xNAEx//TWdNFB0c2m0SxMreEnDqYsLQjqmw3 Ya8MDoyvMyXYSAnDtFIQaRNJ8xPf3ZfjWkrYp4ZJCRfbBDcdb4PjXFH1cwwdRAd/Vt6G R50gckPp7xqpdmOIHv4jW1FM3kz9S1/6tFsh/Rm8yK1R8HBIu+xQPXo4egN3AS3uEgum 1uVw== X-Gm-Message-State: ALyK8tIsSQpmAAPeEzaqfdTpa/k6ZGGz3uU5OncukXDPBB4BX1UQaC9wNbN7AdxOS6WMlud6 X-Received: by 10.28.94.135 with SMTP id s129mr16462980wmb.36.1467722035618; Tue, 05 Jul 2016 05:33:55 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id r190sm2586837wme.17.2016.07.05.05.33.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Jul 2016 05:33:54 -0700 (PDT) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org, Adrien Mazarguil Date: Tue, 05 Jul 2016 14:33:54 +0200 Message-ID: <1547636.SrtxZCOMXF@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <577B998A.4050009@intel.com> References: <1459865290-10248-1-git-send-email-adrien.mazarguil@6wind.com> <577B998A.4050009@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2 00/11] Fix build errors related to exported headers 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: Tue, 05 Jul 2016 12:33:56 -0000 2016-07-05 12:27, Ferruh Yigit: > On 7/5/2016 11:44 AM, Adrien Mazarguil wrote: > > DPDK uses GNU C language extensions in most of its code base. This is fine > > for internal source files whose compilation flags are controlled by DPDK, > > however user applications that use exported "public" headers may experience > > compilation failures when enabling strict error/standard checks (-std and > > -pedantic for instance). > > Out of curiosity, is there a specific standard version that is targeted? In the last patch (scripts/check-includes.sh), there is this: +: ${PEDANTIC_CFLAGS=-std=c99 -pedantic -Wall -Wextra -Werror} +: ${PEDANTIC_CXXFLAGS=} +: ${PEDANTIC_CPPFLAGS=-D_XOPEN_SOURCE=600} I guess it means that strict C99 is targeted and there is no standard requirement for C++.