From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 2/2] eal: Fix compilation on C++ Date: Mon, 17 Aug 2015 17:29:18 +0200 Message-ID: <3151494.cFXF6huzQX@xps13> 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: Joongi Kim 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) In-Reply-To: <1435927863-3398-2-git-send-email-joongi@an.kaist.ac.kr> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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