From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.ud15.udmedia.de (ud15.udmedia.de [194.117.254.55]) by dpdk.org (Postfix) with ESMTP id CFA583772 for ; Wed, 1 Jul 2015 18:34:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=mail.ud15.udmedia.de; h= message-id:date:from:mime-version:to:subject:content-type; s= beta; bh=3/2Iyx901axEHbqq0V0uZYZKTqSiDmJb5nmvveor24U=; b=NLQmzR6 MxDsc3H0ICKAdyRcS9tKLmr+aErs4mS2Wkur/LvRo971NthQcZ2pHYwI1/LBGjhH SBQ8Db2hxqjyLdQ/FLP6K9gT+K9I7+yE1lBoN9ODNoGgwUicFcX+73Hf/jepqzai squKiFDyIVLQgGZI02/Z/FnGOZW7DKTfzPZw= Received: (qmail 2601 invoked from network); 1 Jul 2015 18:34:01 +0200 Received: from unknown (HELO ?192.168.178.31?) (ud15?2p5@178.8.57.84) by mail.ud15.udmedia.de with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256 encrypted, authenticated); 1 Jul 2015 18:34:01 +0200 Message-ID: <55941678.3000806@ng4t.com> Date: Wed, 01 Jul 2015 18:34:00 +0200 From: Dirk-Holger Lenz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: dev@dpdk.org Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] g++ applications doesn't compile anymore when dpdk header files are included 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, 01 Jul 2015 16:34:02 -0000 Hello, the g++ complains the following problems when rte_xxxx.h header files are included: ....x86_64-native-linuxapp-gcc/include/rte_common.h:95:59: warning: invalid conversion from ‘void*’ to ‘rte_mempool_objhdr*’.... this appears in multiple flavours -as a workaround the '-fpermissive' option of the g++ may be used but that's not nice. ....x86_64-native-linuxapp-gcc/include/generic/rte_cpuflags.h:50:6: error: use of enum ‘rte_cpu_flag_t’ without previous declaration enum rte_cpu_flag_t; ....x86_64-native-linuxapp-gcc/include/generic/rte_cpuflags.h:55:6: error: use of enum ‘cpu_register_t’ without previous declaration enum cpu_register_t; ....x86_64-native-linuxapp-gcc/include/generic/rte_cpuflags.h:104:31: error: use of enum ‘rte_cpu_flag_t’ without previous declaration rte_cpu_get_flag_enabled(enum rte_cpu_flag_t feature); -as a workaround the file 'lib/librte_eal/common/include/generic/rte_cpuflags.h' may be modified: remove or uncomment the following lines: line 50: //enum rte_cpu_flag_t; line 55: //enum cpu_register_t; lines 103/104: //static inline int //rte_cpu_get_flag_enabled(enum rte_cpu_flag_t feature); Best regards Dirk -- Dirk-Holger Lenz +49 157 848 09099 dirk.lenz@ng4t.com ng 4 T Telecommunication Technology Testing Tools ng4T GmbH Siemensdamm 50 13629 Berlin Germany www.ng4t.com +49 30 65218530 Berlin-Charlottenburg, HRB 123546 CEO Dr. Andreas Kallmann