OSDN Git Service

test: ignore deprecated-declarations for GCC >= 6.x
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Fri, 7 Jul 2017 01:51:47 +0000 (18:51 -0700)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 27 Sep 2017 04:56:02 +0000 (12:56 +0800)
commitf569d5c9283f4483c9c683530fc7a9877ff793db
treeb09f4e307204b1ed2b4649af7b10f63c6878c283
parente14ead906828960d0ff05bd1b9602515abcb6fbb
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 <ullysses.a.eoff@intel.com>
test/Makefile.am