From f569d5c9283f4483c9c683530fc7a9877ff793db Mon Sep 17 00:00:00 2001 From: "U. Artie Eoff" Date: Thu, 6 Jul 2017 18:51:47 -0700 Subject: test: ignore deprecated-declarations for GCC >= 6.x In libva 2.0 the VAProfileH264Baseline declaration has been deprecated. In the test/Makefile.am, we use -Wall -Werror so all warnings are treated as errors. For GCC < 6.x, deprecated-declarations are not flagged as warnings, thus don't break compilation. However, GCC >= 6.x treats deprecated-declarations as warnings and therefore breaks compilation. Ignore deprecated-declarations with the -Wno-deprecated-declarations compiler flag for now. Fixes #219 Signed-off-by: U. Artie Eoff --- test/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Makefile.am b/test/Makefile.am index f250fee6..2a9a46f9 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -102,6 +102,7 @@ test_i965_drv_video_CPPFLAGS = \ test_i965_drv_video_CXXFLAGS = \ -Wall -Werror \ + -Wno-deprecated-declarations \ $(AM_CXXFLAGS) \ $(NULL) -- cgit v1.2.1