tenacityteam / tenacity-legacy

THIS REPO IS NOT MAINTAINED ANYMORE. Please see https://codeberg.org/tenacityteam/tenacity for Tenacity, which is maintained.
https://tenacityaudio.org
Other
6.77k stars 256 forks source link

TenacityApp.cpp77: #708

Closed ohquait closed 2 years ago

ohquait commented 2 years ago

Guidelines

Version/Commit hash

actual on 03 Mar 2022

Describe the bug.

In file included from /home/quait/src/rpm/BUILD/tenacity/src/TenacityApp.cpp:77: /home/quait/src/rpm/BUILD/tenacity/src/FFmpeg.h: In constructor ‘AVPacketEx::AVPacketEx()’: /home/quait/src/rpm/BUILD/tenacity/src/FFmpeg.h:887:21: warning: ‘void av_init_packet(AVPacket)’ is deprecated [-Wdeprecated-declarations] 887 | av_init_packet(this); | ~~~~^~~~ /home/quait/src/rpm/BUILD/tenacity/src/FFmpeg.h:738:7: note: declared here 738 | av_init_packet, | ^~~~~~ /home/quait/src/rpm/BUILD/tenacity/src/FFmpeg.h:461:19: note: in definition of macro ‘FFMPEG_FUNCTION_NO_RETURN’ 461 | inline void n a \ | ^ /home/quait/src/rpm/BUILD/tenacity/src/FFmpeg.h: In member function ‘void AVPacketEx::reset()’: /home/quait/src/rpm/BUILD/tenacity/src/FFmpeg.h:914:21: warning: ‘void av_free_packet(AVPacket)’ is deprecated [-Wdeprecated-declarations] 914 | av_free_packet(this); | ~~~~^~~~ /home/quait/src/rpm/BUILD/tenacity/src/FFmpeg.h:788:7: note: declared here 788 | av_free_packet, | ^~~~~~ /home/quait/src/rpm/BUILD/tenacity/src/FFmpeg.h:461:19: note: in definition of macro ‘FFMPEG_FUNCTION_NO_RETURN’ 461 | inline void n a \ | ^ /home/quait/src/rpm/BUILD/tenacity/src/FFmpeg.h: In member function ‘void AVPacketEx::steal(AVPacketEx&&)’: /home/quait/src/rpm/BUILD/tenacity/src/FFmpeg.h:921:21: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] 921 | av_init_packet(&that); | ~~~~^~~~~ /home/quait/src/rpm/BUILD/tenacity/src/FFmpeg.h:738:7: note: declared here 738 | av_init_packet, | ^~~~~~ /home/quait/src/rpm/BUILD/tenacity/src/FFmpeg.h:461:19: note: in definition of macro ‘FFMPEG_FUNCTION_NO_RETURN’ 461 | inline void n a \ | ^ make[2]: Leaving directory '/home/quait/src/rpm/BUILD/tenacity/build' make[1]: [CMakeFiles/Makefile2:529: src/CMakeFiles/Tenacity.dir/all] Error 2 make: [Makefile:159: all] Error 2 error: Bad exit status from /home/quait/src/tmp/rpm-tmp.ILnfeM (%build)

Expected behavior

?

OS

PCLinuxOS

Additional context

No response

This issue is not a duplicate

ohquait commented 2 years ago

solved: include .git in sources - i have it removed and cmake-option : -DFFMPEG_DEFINITIONS:STRING="-Wno-deprecated" build runs fine... how do man ?

ohquait commented 2 years ago

tenacity works, all plugins imported same as audacity, ... THUMBS UP https://www.qua-it.org/XFCE/repo/SRPMS.quait/SRPMS.x86_64/tenacity-0.1.0-1pclos2022.src.rpm