From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by dpdk.org (Postfix) with ESMTP id E533A7E75 for ; Thu, 6 Nov 2014 21:56:16 +0100 (CET) Received: by mail-wi0-f174.google.com with SMTP id d1so2747126wiv.7 for ; Thu, 06 Nov 2014 13:05:45 -0800 (PST) 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=pslZJQN+f639T6h+O9x+I6oplmb1fv+3TvSbLApEuVA=; b=byZDXiJi7T9UVA/PafvNDXY4ZnwUxrMZHR27DHLqmBoFwlnRlPhEocjfG1/83BkHKN lT9mMkh22RWCzol8XpxJ4TjGkUsBKpn08RO26c4e8ZO8I0X1xJkB3AKNZfnLTJSVQn9X W6V+CIUCFmZ3s7WKIrTPD4ZeU3kdEoOEmOQQBkI1IbCnd36pwG2TrBLM2M7gaXa5T5z1 6XlVz22bwCRIYNYL9kDFOMNwlj7zw+B1MU+5U9QcMJ8JqFE7srYKjalpagsbCQ46EHJr UF12VViiDvI1EHxWNYdqxYsFuLV9257vNuoVYPk929jmJlSDBe54s5162aVR0wTW4r8Z PaGg== X-Gm-Message-State: ALoCoQkThj3AcnPiXezPEkCbXwGuFe/mkhHo4CfJBqTTd4odUOjpXE/X4kgn0TZCLw6cLiXdYNaO X-Received: by 10.194.250.41 with SMTP id yz9mr9916544wjc.34.1415307945854; Thu, 06 Nov 2014 13:05:45 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id hh14sm1906778wib.13.2014.11.06.13.05.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Nov 2014 13:05:44 -0800 (PST) From: Thomas Monjalon To: Keunhong Lee Date: Thu, 06 Nov 2014 22:05:26 +0100 Message-ID: <1808251.0PKkz7l9rY@xps13> Organization: 6WIND User-Agent: KMail/4.14.2 (Linux/3.17.2-1-ARCH; KDE/4.14.2; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Bugs in newest patches 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: Thu, 06 Nov 2014 20:56:17 -0000 Hi, 2014-11-07 05:21, Keunhong Lee: > I just pulled new patches from the master branch, and found that it doesn't > work with C++. > > in lib/librte_eal/common/include/generic/rte_cycles.h > +#ifdef __cplusplus > +extern "C" { > +#endif It's already included in lib/librte_eal/common/include/arch/x86/rte_cycles.h which includes lib/librte_eal/common/include/generic/rte_cycles.h. You shouldn't include the generic header directly. -- Thomas