pkuvcl / davs2

An open-source decoder of AVS2-P2/IEEE1857.4 video coding standard
GNU General Public License v2.0
129 stars 52 forks source link

Build fails with gcc8 #9

Closed dbermond closed 5 years ago

dbermond commented 5 years ago

Describe the bug

I'm getting the following error when trying to build davs2 git master with gcc8:

To Reproduce

The steps to reproduce are already described on the above link.

Expected behavior

A successful build with gcc8.

Screenshots

Not applicable.

Desktop (please complete the following information):

Additional context

It builds fine when using gcc 7.3.1.

dbermond commented 5 years ago

I have created a pull request that fixes this issue.

After applying the fix, davs2 builds fine for me with the following gcc versions:

:heavy_check_mark: gcc 8.2.1 :heavy_check_mark: gcc 7.3.1 :heavy_check_mark: gcc 6.5.0