From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0043.outbound.protection.outlook.com [104.47.0.43]) by dpdk.org (Postfix) with ESMTP id 7B4CF397D for ; Wed, 24 Jan 2018 12:20:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=zHKUBi0Y9NxYWz1Iqvi8Vr2M1AWQU/HTS+ym0mhBUX8=; b=kqljHB5saYHwgXAzAlgYQRyqLovRD/Nr1pG/rACj55CXGbcGfcYlkGI/k8ZzrFv9JSCUrkWJ38YE7oemuC82RJN99dXInCY86x9YklYpTYbO2LcWiIWcjoM/LCKVN3c2rb5TmgmJK3XLTCbp/TSYXyUsunVVDyqPMthAe8zI/Lo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ophirmu@mellanox.com; Received: from mellanox.com (37.142.13.130) by VI1PR0502MB3885.eurprd05.prod.outlook.com (2603:10a6:803:c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Wed, 24 Jan 2018 11:20:04 +0000 From: Ophir Munk To: dev@dpdk.org, Matan Azrad Cc: Thomas Monjalon , Olga Shern , Adrien Mazarguil , Ophir Munk Date: Wed, 24 Jan 2018 11:19:52 +0000 Message-Id: <1516792792-10119-1-git-send-email-ophirmu@mellanox.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [37.142.13.130] X-ClientProxiedBy: HE1PR0102CA0014.eurprd01.prod.exchangelabs.com (2603:10a6:7:14::27) To VI1PR0502MB3885.eurprd05.prod.outlook.com (2603:10a6:803:c::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bc735ed8-422a-43d1-2995-08d5631c6b75 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(48565401081)(2017052603307)(7153060)(7193020); SRVR:VI1PR0502MB3885; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0502MB3885; 3:4/zIwnkw59COqw1uYFvHlHEpTv0JPe2m+Grb/bQmf0gTLm/B2G6qCf5dyfU0gUH9inZUxwGRHADFS22wSYVN6jNxqHs1RrsS7vh5HENmPhj3Waf4OkiZTaRrkPJmkgw+w8OKZBuzypJkBUfhnh6UM4JhbAn5sEfNjYwUQ0I0xhZr5+NoRzMSzomDEtrPS9BVvyFCbnInZLmy8rmFdCWySNeKEs9V6PTvXtWrAgU4KgsP77S2FdTb7KukZls3A7le; 25:9ElzobGVN7kujH4WzwAQA7DjuaWygYrdzJYhoPt5LkxhKKe2Qnw7wl4+xHYpKcxeifUhLPwPIZvvgGL7CcdUsaAEIamxhuQqLrljmwr/YTnoMxv2Ib9jvVBxVjloGLkNJSkoJsF7AB9YJ+679q6XDaw/M/ooK6r70iuXBZ3NznGhivZXMNoksnr6L5V3u/b/GQjo/3gj7xSpE7elh/4BkQCliOXoyYiNRK7lr50m4bI6MKHpigWY1ebQFdVoLeBb9fHgsjKSse8tMI7Z/92MNotj+2mQzSqR3ntgMk8Z1En8xjUWYMx4VBX5wR41/j+v3Vzuuzud2dC/gtdz0XNDfw==; 31:x6VYjlHqdVhiqcTkExqLI/jjzJjwssejCLBUWhRX+4b54jb16Nq6ph0Bw6+booubCcTFQ8A2E/SE5jbWdFzd70sBWkzFdXyICQWP0WjmW4zK9X5L2uWkxAH0Qceun/yWtCobjc2pOkNi5p9mBtcwC4TVPzCyl5tcXSXAzRfP3aYz8gOKdeDL/CNMWqu8saNWqVbTpjC/w6vi6sgkTNwo+a7ykcqoX4qjZrGZv1EJKDk= X-MS-TrafficTypeDiagnostic: VI1PR0502MB3885: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; VI1PR0502MB3885; 20:uKTHvBQxI0oNt81Z5glCbj5pEO5tunAsDlcZCPjl1omT687mqAS6feDfofiDd+UqCgIccIxhQrsKdSebjegWp7xkXT3TJIhhDMqc1xTOl3N/Bwh+71eNnVHoz6KziYpKO/Hj4Xj2c9v9LUgqMOWxhGSM4ZXmSv1lXW9NU3bPA53AiNAaxyfVKSyxQzHZcbNtPY0pQjS2iHXZ6H3uyeGz0WDM3A5cPQLElX4fKRvXvJeYBNm3o7kM5qRCvE7hMyz4khCLw8Gek1KeqNJEtvDeevVYLrjgOgGxWMPxjQY8tl6jd0ahS6xEVj13AP7tpHqsFFpPdLlYG/O4gGWSW2YuSu7i+SQ2rpSadTgEhWXqt2kwdSHJ6OoMNfi3Xu6nlnSRB5FZc461Br8JOPmkLYbnaEv9RAKlOT2gPn94s3Z25FrnHF4LcctfNWves18fSQBx6j0BRNavCi3X1pAz21idHtAzx4UZX4i2tCgnQk/LvtmC4LvehW63e3C8eyXQ9hPR; 4:6ZJIEhLmFNbXxr0t/7A8NwwnbNtZMrSEtk+c4qrXggXyeiZoWPtbwie02eJzEGrMc13TUyaMy3bef7nLs8JH3cTYpFpqs4wbREPt1ZgxCbdk4Xno7noWzyToEjONFrGZvwm/BhoVjvAn2VRLnTcCpkJyG/2CWBQQ1ocvvRUFtC58bUzxLMRmqiVV0+WVE2ciYLkPWlwZkNKu4UqkR2VePYUebfEtjU1o8WvkHxOtmjE93hEp1hBNz2WFWAujQSKs/9Dsp5K/7eP8byA6evdUsQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231023)(2400081)(944501161)(93006095)(93001095)(6055026)(6041288)(20161123560045)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011); SRVR:VI1PR0502MB3885; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0502MB3885; X-Forefront-PRVS: 056297E276 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(346002)(376002)(396003)(39860400002)(39380400002)(189003)(199004)(86362001)(33026002)(386003)(478600001)(97736004)(50466002)(6116002)(21086003)(3846002)(69596002)(48376002)(16526018)(4326008)(55016002)(316002)(37006003)(59450400001)(16586007)(26005)(53936002)(25786009)(36756003)(52116002)(7696005)(6666003)(6636002)(4720700003)(106356001)(5660300001)(54906003)(6862004)(105586002)(305945005)(2906002)(51416003)(66066001)(107886003)(68736007)(50226002)(47776003)(7736002)(8936002)(81156014)(8676002)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0502MB3885; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR0502MB3885; 23:QOSEKIp63sOExrU+DNXBvt/ZonsV1mttY9zhI+s?= =?us-ascii?Q?i/32sNQrYE6xW93dgwWAoiH/SYDJ+8s7G+RL7S0cfj3gpeiyWALlNtZTJHCJ?= =?us-ascii?Q?7H69Ka7fHulp+/Vk8y8jK45tqHMGvh9v6MElNfOd57HbTywPrG5pgmRMiS4I?= =?us-ascii?Q?nsf+jNT3hDw9pGdgLzTcFYRyE7tILlL3QOiAphxZRCkkisMf7zd+zVPLV0w6?= =?us-ascii?Q?A2sw+8dlPw3+onyja9/nwJpg96sahK2NnfgCwk0NQ6pYHK6se7V/ir0jIo43?= =?us-ascii?Q?gVvPSTT8a3uu26U3jlGIBEfpwRQFEPLDehIyHb3aQhQUXtD9Se2wScaVezhW?= =?us-ascii?Q?36zeoXZ4WjDuw6cxrPjmKhlrqnLX4vbG/axHsItBQC6gxJvVgul/GQQR+OUO?= =?us-ascii?Q?qbShe/LzfQC9XYMQ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iG9YnWUxouAli2NcWyMy9ksUvY4zjm62rd0js/T9VFTSu6KfAedrH2Og2gZPHBIedePZ6oVXlh/yn76QJBxFAUj+AkhD6mYjZdYHqvrRMFqrR9uaPOnqnjpXqStNOyDwwRRMaPSNU2AcErUh0XZFda7/ZC+fNJv0TKy1fXfNYrxvSYdwT9mDXjndczHxO/NxT7B/Vz+1cweO8EGxBd+QKfHrTto7gpdbaZdcI7j3rYWV6/u/KzjO8GnElRDUIox/dlkTpUJlPppmBZ1q4C2/ma0d6VXkBz3ZnzS1zrSDyiCakqWmbmDPS8efwTKtvmpKQxSM+RsO63Ds0QuhWrcdaYP+FIMwHTePgvkI=; 5:TWiuCg8R4Mz6E3HjAX49M+VeFInE5ordwHEOXx3GYp90zdn256O9pmM0bHNdtEC5pHrzGQgGjVlHptIMW4o1nK07yB6A15xtIF0cYvUGqlCFZQjtMsItMi+GipN/xQ3v6XrEplN8NxVu6uQuNpk++XjzYVN0VbvDqu1ZEUir2XY=; 24:dH7/8yV4xzePbNz6gmbAIHUmLjDrchJyldNXE0fU/0RXudoOj76Wl6FxXrYMzvLQirdSZqqEkBmxQBjIJF1dRavRutOFTHnNbHP0DllHThU=; 7:0hjrIWZMjs5EfK4d3x7+1FX6qocNK3d1UE6zxeHaFJ4O9Rf8/bzggHyFiI6GIrwUsBzHOOu3YXvJzdIwR+GlJdde1gVxtco+Z0EEmtxPDEfcQTXrquyBDFld4QhVGXZxSsqWizr+PJq+z5QgK2JXu/PCW1FzaRVDoRTOmKZzCoEh/1Yxkz0XLgEgYYooGzs5MLAnVXpD3xLWVR3VD8bOWEv7QLQ0aXIZf6p7XprtzwyLi0rWfCy4pmyOQr5rTuL2 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2018 11:20:04.2117 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bc735ed8-422a-43d1-2995-08d5631c6b75 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3885 Subject: [dpdk-dev] [PATCH v1] net/vdev_netvsc: remove CFLAGS -std=c11 and -pedantic X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2018 11:20:07 -0000 In order to guarantee a successful vdev_netvsc compilation on old Linux distributions remove CFLAGS -std=c11 and -pedantic Otherwise old GCC compilers may complain as follows: cc1: error: unrecognized command line option -std=c11 Signed-off-by: Ophir Munk --- drivers/net/vdev_netvsc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/vdev_netvsc/Makefile b/drivers/net/vdev_netvsc/Makefile index f2b2ac5..45351b8 100644 --- a/drivers/net/vdev_netvsc/Makefile +++ b/drivers/net/vdev_netvsc/Makefile @@ -12,7 +12,7 @@ EXPORT_MAP := rte_pmd_vdev_netvsc_version.map # Additional compilation flags. CFLAGS += -O3 CFLAGS += -g -CFLAGS += -std=c11 -pedantic -Wall -Wextra +CFLAGS += -Wall -Wextra CFLAGS += -D_XOPEN_SOURCE=600 CFLAGS += -D_BSD_SOURCE CFLAGS += -D_DEFAULT_SOURCE -- 2.7.4