From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by dpdk.org (Postfix) with ESMTP id 3E5846837 for ; Mon, 17 Aug 2015 17:30:32 +0200 (CEST) Received: by wibhh20 with SMTP id hh20so84437028wib.0 for ; Mon, 17 Aug 2015 08:30:32 -0700 (PDT) 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=H6bQWf45bZjSpv8XEgcnvCMgFbYV5y2EhDIBuFKIlEg=; b=SxbDx74ks43vigNpw0AmJ6BEv4Tg3HcD0YrL7x/Yv+VzmwVkT5K1ta1apviQ+umavu s7cQCW7XK1sBMkqHGZE1lM9RuZGRYzh3Bh2lLMRpQcothYYi1bUka4IkFuXVd44TgZJM vGAk+gtTsn1Q/l5z8Juc9tEYnEGU3QGjsZNVIiqAd4zT9+ADmu737JYitxcczs8OR+j8 7MpkWW6RLGq9GntMjQZ0dtLZ5hJqhpKNmtfFg5NsH4OLshdn6vi2aKyHBlYdN3/1ch0K 6fkAVMipiL5b7MY5LbTCMn8t4oporUeR58CrrizyQBg2cVOflK86XZ5+liowWVPyvRRE wvBg== X-Gm-Message-State: ALoCoQkFRGnUjip/teYFNH8g8ItENV0czE65msKrNxeICdWf5aZm5aTBzF58D5dOkzFpwy03Fll6 X-Received: by 10.180.88.196 with SMTP id bi4mr35745786wib.70.1439825432086; Mon, 17 Aug 2015 08:30:32 -0700 (PDT) Received: from xps13.localnet (183.16.90.92.rev.sfr.net. [92.90.16.183]) by smtp.gmail.com with ESMTPSA id wx9sm22345093wjb.6.2015.08.17.08.30.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Aug 2015 08:30:31 -0700 (PDT) From: Thomas Monjalon To: Joongi Kim Date: Mon, 17 Aug 2015 17:29:18 +0200 Message-ID: <3151494.cFXF6huzQX@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1435927863-3398-2-git-send-email-joongi@an.kaist.ac.kr> References: <1435927863-3398-1-git-send-email-joongi@an.kaist.ac.kr> <1435927863-3398-2-git-send-email-joongi@an.kaist.ac.kr> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 2/2] eal: Fix compilation on C++ 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, 17 Aug 2015 15:30:32 -0000 2015-07-03 21:51, Joongi Kim: > * Forward declaration of enum in C++ requires explicit underlying > type definitions. >=20 > * This fixes the issue at: > http://dpdk.org/ml/archives/dev/2015-April/017065.html >=20 > Signed-off-by: Joongi Kim Does the problem appear only with rte_hash_crc.h inclusion? The reported errors were: include/generic/rte_cpuflags.h:50:6: error: use of enum =E2=80=98rte_cpu_flag_t=E2=80=99 without previous de= claration enum rte_cpu_flag_t; include/generic/rte_cpuflags.h:55:6: error: use of enum =E2=80=98cpu_register_t=E2=80=99 without previous de= claration enum cpu_register_t; > lib/librte_eal/common/include/arch/x86/rte_cpuflags.h | 4 ++-- > lib/librte_eal/common/include/generic/rte_cpuflags.h | 12 +++++++++= +-- Do we need to update lib/librte_eal/common/include/arch/ppc_64/rte_cpuf= lags.h and lib/librte_eal/common/include/arch/tile/rte_cpuflags.h as well? Thanks