alfalfa icon indicating copy to clipboard operation
alfalfa copied to clipboard

Build fail when make

Open Alexyali opened this issue 5 years ago • 2 comments

Hello author, thank you for your contributions. I use sudo apt install to install all needed packets. Then I follow the cmd to configure and make. But when I make, there is a error as below:

block.hh:129:7: error: implicitly-declared ‘TwoDStorage<Block<Y_after_Y2, bmode> >::Context::Context(const TwoDStorage<Block<Y_after_Y2, bmode> >::Context&)’ is deprecated [-Werror=deprecated-copy]

macroblock.hh:52:7: error: implicitly-declared ‘TwoDStorage<Macroblock<KeyFrameHeader, KeyFrameMacroblockHeader> >::Context::Context(const TwoDStorage<Macroblock<KeyFrameHeader, KeyFrameMacroblockHeader> >::Context&)’ is deprecated [-Werror=deprecated-copy]

Thanks :)

Alexyali avatar Aug 03 '20 08:08 Alexyali

Hello @Alexyali,

This seems to be a problem with newer versions of GCC (>7.0). I'll give it a look and will push a fix later today. Thank you!

--Sadjad

sadjad avatar Aug 03 '20 14:08 sadjad

Yes, my gcc version is higher than 7.0. Thank you.

Alexyali avatar Aug 03 '20 16:08 Alexyali