Cover Detail
Show a cover letter.
GET /api/covers/107258/?format=api
http://patches.dpdk.org/api/covers/107258/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20220210140355.586399-1-bruce.richardson@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20220210140355.586399-1-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220210140355.586399-1-bruce.richardson@intel.com", "date": "2022-02-10T14:03:48", "name": "[v3,0/7] Verify C++ compatibility of public headers", "submitter": { "id": 20, "url": "http://patches.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20220210140355.586399-1-bruce.richardson@intel.com/mbox/", "series": [ { "id": 21603, "url": "http://patches.dpdk.org/api/series/21603/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=21603", "date": "2022-02-10T14:03:48", "name": "Verify C++ compatibility of public headers", "version": 3, "mbox": "http://patches.dpdk.org/series/21603/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/107258/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 17348A00BE;\n\tThu, 10 Feb 2022 15:04:27 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id F13EB42707;\n\tThu, 10 Feb 2022 15:04:26 +0100 (CET)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id 1F5434013F\n for <dev@dpdk.org>; Thu, 10 Feb 2022 15:04:24 +0100 (CET)", "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 10 Feb 2022 06:04:24 -0800", "from silpixa00399126.ir.intel.com ([10.237.223.162])\n by fmsmga008.fm.intel.com with ESMTP; 10 Feb 2022 06:04:23 -0800" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1644501865; x=1676037865;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=UwCBdVb+uvlXaBxqghRGA9k3SkQEuP8Le3iWm8zyhy0=;\n b=DXHZby90XmRiSyeL8fZOQ+DXBOkQJHpIusCimiRy8Ofe2Wu8Rb1tPSpi\n xl4ma2YIpgfH2mCAaHrMUequaBxJAxyYWsXF42pEG4GX5DEninj4ShC4p\n 0aFKAQKsS2UpFAJRf6kfqE+jXotPgAWjQo/S3parPKrRJUsEAAOfglRki\n SwAy8LL9/H90Myg/00wr7K4cUaZv4SIT3DyGdpAkVUKva4tSWbmciLMY/\n xGZIPTedf2eWJs1Tr9qUADTirpER1tZptx7eTbqMUXhjtFbhFUxCmC8oY\n sq7iG0lW79dcDKfWrktt8O+D0aFWA/r7X6l5xSo3zZK7ecGG5sH6Ety79 Q==;", "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10253\"; a=\"312781075\"", "E=Sophos;i=\"5.88,358,1635231600\"; d=\"scan'208\";a=\"312781075\"", "E=Sophos;i=\"5.88,358,1635231600\"; d=\"scan'208\";a=\"585964225\"" ], "X-ExtLoop1": "1", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>", "Subject": "[PATCH v3 0/7] Verify C++ compatibility of public headers", "Date": "Thu, 10 Feb 2022 14:03:48 +0000", "Message-Id": "<20220210140355.586399-1-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.32.0", "In-Reply-To": "<20220204174209.440207-1-bruce.richardson@intel.com>", "References": "<20220204174209.440207-1-bruce.richardson@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "This patchset expands upon the exiting chkincs infrastructure to build a\nC++ test application as well as the existing C test app, which helps\ncatch any build errors when the public DPDK headers are included in C++\ncode. The rest of this patchset fixes the errors caught by this\nadditional check - mostly missing casts, but also one use of \"new\" as a\nvariable name, and one missing closing brace for an 'extern \"C\"' block.\n\nV3:\n* update linux-build script to have cpp_args=-m32 for 32-bit builds\n\nV2:\n* Changed patch 6 to have a minimally-invasive fix for C++ without\n affecting existing C code.\n* Added fixlines and Cc stable for all patches which are fixes\n\nBruce Richardson (7):\n eal: fix header build with C++\n eventdev: fix header build with C++\n graph: fix missing explicit cast for C++ build\n ipsec: fix missing explicit cast for C++ build\n table: fix missing explicit casts for C++ build\n vhost: fix incompatible header includes for C++\n buildtools/chkincs: test headers for C++ compatibility\n\n .ci/linux-build.sh | 1 +\n buildtools/chkincs/main.cpp | 4 +++\n buildtools/chkincs/meson.build | 20 +++++++++++++++\n lib/eal/include/generic/rte_ticketlock.h | 14 +++++------\n lib/eal/include/rte_trace_point.h | 2 +-\n lib/eventdev/rte_event_timer_adapter.h | 3 +++\n lib/eventdev/rte_eventdev.h | 2 +-\n lib/graph/rte_graph_worker.h | 2 +-\n lib/ipsec/rte_ipsec_group.h | 4 +--\n lib/table/rte_table_hash_func.h | 32 ++++++++++++------------\n lib/vhost/rte_vhost.h | 2 ++\n 11 files changed, 58 insertions(+), 28 deletions(-)\n create mode 100644 buildtools/chkincs/main.cpp\n\n--\n2.32.0" }{ "id": 107258, "url": "