Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.
This repository was archived by the owner on Jan 31, 2025. It is now read-only.

Intel-vaapi-driver fails to compile on GCC 7.1.1 #236

Closed
@stripes416

Description

@stripes416
22:29:24,966 INFO  - i965_test_fixture.cpp: In member function 'Surfaces I965TestFixture::createSurfaces(int, int, int, size_t, const SurfaceAttribs&)':
22:29:24,966 INFO  - i965_test_fixture.cpp:47:12: error: suggest explicit braces to avoid ambiguous 'else' [-Werror=dangling-else]
22:29:24,966 INFO  - if (ctx)
22:29:24,966 INFO  - ^
22:29:24,976 INFO  - i965_test_environment.cpp: In member function 'virtual void I965TestEnvironment::TearDown()':
22:29:24,976 INFO  - i965_test_environment.cpp:85:8: error: suggest explicit braces to avoid ambiguous 'else' [-Werror=dangling-else]
22:29:24,976 INFO  - if (m_vaDisplay)
22:29:24,976 INFO  - ^
22:29:25,073 INFO  - i965_config_test.cpp: In member function 'virtual void I965ConfigTest_Create_Test::TestBody()':
22:29:25,073 INFO  - i965_config_test.cpp:61:8: error: suggest explicit braces to avoid ambiguous 'else' [-Werror=dangling-else]
22:29:25,073 INFO  - if (actual != VA_STATUS_SUCCESS)
22:29:25,073 INFO  - ^

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions