]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx5/mlx5_ethdev.c
net/mlx: fix debug build with gcc 6.1
[dpdk.git] / drivers / net / mlx5 / mlx5_ethdev.c
index 1ae80e5d267f5829406ca3875722c048abb9ad42..205ce9c6b1cba2fc61a994dad6c6198a1d16d1c7 100644 (file)
@@ -50,7 +50,7 @@
 
 /* DPDK headers don't like -pedantic. */
 #ifdef PEDANTIC
-#pragma GCC diagnostic ignored "-pedantic"
+#pragma GCC diagnostic ignored "-Wpedantic"
 #endif
 #include <rte_atomic.h>
 #include <rte_ethdev.h>
@@ -60,7 +60,7 @@
 #include <rte_alarm.h>
 #include <rte_malloc.h>
 #ifdef PEDANTIC
-#pragma GCC diagnostic error "-pedantic"
+#pragma GCC diagnostic error "-Wpedantic"
 #endif
 
 #include "mlx5.h"