From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 215AB2B8D for ; Wed, 5 Oct 2016 11:23:16 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id f193so216817731wmg.0 for ; Wed, 05 Oct 2016 02:23:16 -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=E+vvouVix5uOnqREs0/yuvU46GI+OhNZe3nYWk4d8QA=; b=fkTkS9wYLriDlgOsYA5m4l6mK+fP0rACHpy4bTTm+ig6vzjA73zaREFB8j0jkgcQQo 4FMPcrbNFhq2Sdq9ipCmO7rcp2cV8FAwlY4IFT4KjTnaEXdWFW2hLqvRUwcgB52PYiPE yR/5aun+PVkZoZqhfX2UVtuYGmlp8tvJfrIlow+jd93RAEvZpY2X89CsN+SRFz9qoAe/ tG3cz4+l8sXbDiLKP1m/HFV2f3EuD6AcWeWG+g8q36tzZI6PEHk96bj7VUcjQlKL+DR5 rMzkXs2Wg36cvFYaPM5LKWwg8gdMYWHlOjgYubSqALbXXnUyD4rDFkshDw3P+C02KKHV XfyQ== 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=E+vvouVix5uOnqREs0/yuvU46GI+OhNZe3nYWk4d8QA=; b=J/sr1KH8aF5NwyRzyeGtnttlOc2NsrnnkadV6pcez5avJ8ExTAM45wWoR5ip62ksba Z/AReny/vivjCXAnanWFNsToDt7sybNTromDgEdeMmjaf4k3y/mHC0HrnSFOTvofbv7F 5+nHEMAxrQqXg7x1KP0vsH3+sK2IzTr4gzni1YK5TmfAXRwRoiZcS7vtxL4rmMtlnmeV Fft8n8eUwRiJ+ny5CKYteA53wytxrgCA4jn7nPa4bGSo5fUUQ3Qw7W+h6iOH4jwD62CB Q84jdBSQnV0Le2JmqKOgiRDsvttihRK+QjRpQpUDGhHC4oAXEj2b7cO1VJDOJ12v1Uj2 WyGA== X-Gm-Message-State: AA6/9Rm4EXiCBag/UI7z16rNlQjEbCdGQcCB4qyQQT4DzA9aSw5Tu98vFDInhDs+eohG97Ej X-Received: by 10.28.107.22 with SMTP id g22mr7464604wmc.31.1475659395900; Wed, 05 Oct 2016 02:23:15 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id 17sm7794192wju.44.2016.10.05.02.23.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Oct 2016 02:23:15 -0700 (PDT) From: Thomas Monjalon To: Konstantin Ananyev Cc: dev@dpdk.org Date: Wed, 05 Oct 2016 11:23:13 +0200 Message-ID: <1492896.7EzNbMBhFc@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1475515645-24667-1-git-send-email-konstantin.ananyev@intel.com> References: <1475515645-24667-1-git-send-email-konstantin.ananyev@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eal: fix c++ compilation issue with rte_delay_us() 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: Wed, 05 Oct 2016 09:23:16 -0000 2016-10-03 18:27, Konstantin Ananyev: > When compiling with C++, it treats > void (*rte_delay_us)(unsigned int us); > as definition of the global variable. > So further linking with librte_eal fails. > > Fixes: b4d63fb62240 ("eal: customize delay function") Applied, thanks I don't understand why it was not failing with C compilation?