net/txgbe: add L2 tunnel filter init and uninit
[dpdk.git] / config / meson.build
index a29693b..a3154e2 100644 (file)
@@ -194,6 +194,7 @@ warning_flags = [
        # additional warnings in alphabetical order
        '-Wcast-qual',
        '-Wdeprecated',
+       '-Wformat',
        '-Wformat-nonliteral',
        '-Wformat-security',
        '-Wmissing-declarations',
@@ -220,7 +221,7 @@ if not dpdk_conf.get('RTE_ARCH_64')
        warning_flags += '-Wno-pointer-to-int-cast'
 endif
 if cc.get_id() == 'intel'
-       warning_ids = [188, 2203, 2279, 2557, 3179, 3656]
+       warning_ids = [181, 188, 2203, 2279, 2557, 3179, 3656]
        foreach i:warning_ids
                warning_flags += '-diag-disable=@0@'.format(i)
        endforeach
@@ -278,6 +279,11 @@ if is_windows
                add_project_arguments('-D__USE_MINGW_ANSI_STDIO', language: 'c')
        endif
 
+       # Disable secure CRT deprecated warnings for clang
+       if cc.get_id() == 'clang'
+               add_project_arguments('-D_CRT_SECURE_NO_WARNINGS', language: 'c')
+       endif
+
        add_project_link_arguments('-lws2_32', language: 'c')
 
        # Contrary to docs, VirtualAlloc2() is exported by mincore.lib