Skip to content

Instantly share code, notes, and snippets.

@mmdbalkhi
Created October 18, 2023 11:05
Show Gist options
  • Save mmdbalkhi/30e86beeeb4c102f8989f120d81d4a93 to your computer and use it in GitHub Desktop.
Save mmdbalkhi/30e86beeeb4c102f8989f120d81d4a93 to your computer and use it in GitHub Desktop.
ninja
mmdbalkhi@parseh ~/w/Aegisub/build (git)-[feature] % ninja
[2/499] Compiling C++ object subprojects/ffms2/libffms2.a.p/src_core_filehandle.cpp.o
In file included from ../subprojects/ffms2/src/core/filehandle.cpp:23:
../subprojects/ffms2/src/core/utils.h:102:10: warning: unnecessary parentheses in declaration of 'ptr' [-Wparentheses]
102 | T(FFMS_Struct::*ptr);
| ^~~~~~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/utils.h:102:10: note: remove parentheses
102 | T(FFMS_Struct::*ptr);
| ^~~~~~~~~~~~~~~~~~~
| - -
[3/499] Compiling C++ object subprojects/ffms2/libffms2.a.p/src_core_utils.cpp.o
In file included from ../subprojects/ffms2/src/core/utils.cpp:25:
../subprojects/ffms2/src/core/utils.h:102:10: warning: unnecessary parentheses in declaration of 'ptr' [-Wparentheses]
102 | T(FFMS_Struct::*ptr);
| ^~~~~~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/utils.h:102:10: note: remove parentheses
102 | T(FFMS_Struct::*ptr);
| ^~~~~~~~~~~~~~~~~~~
| - -
[4/499] Compiling C++ object subprojects/ffms2/libffms2.a.p/src_core_audiosource.cpp.o
In file included from ../subprojects/ffms2/src/core/audiosource.h:24,
from ../subprojects/ffms2/src/core/audiosource.cpp:21:
../subprojects/ffms2/src/core/utils.h:102:10: warning: unnecessary parentheses in declaration of 'ptr' [-Wparentheses]
102 | T(FFMS_Struct::*ptr);
| ^~~~~~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/utils.h:102:10: note: remove parentheses
102 | T(FFMS_Struct::*ptr);
| ^~~~~~~~~~~~~~~~~~~
| - -
../subprojects/ffms2/src/core/audiosource.h: In constructor 'FFMS_AudioSource::FFMS_AudioSource(const char*, FFMS_Index&, int, int, int, double)':
../subprojects/ffms2/src/core/audiosource.h:119:9: warning: 'FFMS_AudioSource::TrackNumber' will be initialized after [-Wreorder]
119 | int TrackNumber;
| ^~~~~~~~~~~
../subprojects/ffms2/src/core/audiosource.h:66:12: warning: 'double FFMS_AudioSource::DrcScale' [-Wreorder]
66 | double DrcScale;
| ^~~~~~~~
../subprojects/ffms2/src/core/audiosource.cpp:56:1: warning: when initialized here [-Wreorder]
56 | FFMS_AudioSource::FFMS_AudioSource(const char *SourceFile, FFMS_Index &Index, int Track, int DelayMode, int FillGaps, double DrcScale)
| ^~~~~~~~~~~~~~~~
[5/499] Compiling C++ object subprojects/ffms2/libffms2.a.p/src_core_ffms.cpp.o
In file included from ../subprojects/ffms2/src/core/audiosource.h:24,
from ../subprojects/ffms2/src/core/ffms.cpp:23:
../subprojects/ffms2/src/core/utils.h:102:10: warning: unnecessary parentheses in declaration of 'ptr' [-Wparentheses]
102 | T(FFMS_Struct::*ptr);
| ^~~~~~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/utils.h:102:10: note: remove parentheses
102 | T(FFMS_Struct::*ptr);
| ^~~~~~~~~~~~~~~~~~~
| - -
[6/499] Compiling C++ object subprojects/ffms2/libffms2.a.p/src_core_track.cpp.o
In file included from ../subprojects/ffms2/src/core/track.cpp:23:
../subprojects/ffms2/src/core/utils.h:102:10: warning: unnecessary parentheses in declaration of 'ptr' [-Wparentheses]
102 | T(FFMS_Struct::*ptr);
| ^~~~~~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/utils.h:102:10: note: remove parentheses
102 | T(FFMS_Struct::*ptr);
| ^~~~~~~~~~~~~~~~~~~
| - -
[8/499] Compiling C++ object subprojects/ffms2/libffms2.a.p/src_core_videosource.cpp.o
In file included from ../subprojects/ffms2/src/core/videosource.h:42,
from ../subprojects/ffms2/src/core/videosource.cpp:21:
../subprojects/ffms2/src/core/utils.h:102:10: warning: unnecessary parentheses in declaration of 'ptr' [-Wparentheses]
102 | T(FFMS_Struct::*ptr);
| ^~~~~~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/utils.h:102:10: note: remove parentheses
102 | T(FFMS_Struct::*ptr);
| ^~~~~~~~~~~~~~~~~~~
| - -
../subprojects/ffms2/src/core/videosource.cpp: In member function 'FFMS_Frame* FFMS_VideoSource::OutputFrame(AVFrame*)':
../subprojects/ffms2/src/core/videosource.cpp:80:34: warning: 'AVFrame::key_frame' is deprecated [-Wdeprecated-declarations]
80 | LocalFrame.KeyFrame = Frame->key_frame;
| ^~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:327,
from ../subprojects/ffms2/src/core/videosource.h:25:
/usr/local/include/libavutil/frame.h:436:9: note: declared here
436 | int key_frame;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:80:34: warning: 'AVFrame::key_frame' is deprecated [-Wdeprecated-declarations]
80 | LocalFrame.KeyFrame = Frame->key_frame;
| ^~~~~~~~~
/usr/local/include/libavutil/frame.h:436:9: note: declared here
436 | int key_frame;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:80:34: warning: 'AVFrame::key_frame' is deprecated [-Wdeprecated-declarations]
80 | LocalFrame.KeyFrame = Frame->key_frame;
| ^~~~~~~~~
/usr/local/include/libavutil/frame.h:436:9: note: declared here
436 | int key_frame;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:83:41: warning: 'AVFrame::interlaced_frame' is deprecated [-Wdeprecated-declarations]
83 | LocalFrame.InterlacedFrame = Frame->interlaced_frame;
| ^~~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:530:9: note: declared here
530 | int interlaced_frame;
| ^~~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:83:41: warning: 'AVFrame::interlaced_frame' is deprecated [-Wdeprecated-declarations]
83 | LocalFrame.InterlacedFrame = Frame->interlaced_frame;
| ^~~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:530:9: note: declared here
530 | int interlaced_frame;
| ^~~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:83:41: warning: 'AVFrame::interlaced_frame' is deprecated [-Wdeprecated-declarations]
83 | LocalFrame.InterlacedFrame = Frame->interlaced_frame;
| ^~~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:530:9: note: declared here
530 | int interlaced_frame;
| ^~~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:84:39: warning: 'AVFrame::top_field_first' is deprecated [-Wdeprecated-declarations]
84 | LocalFrame.TopFieldFirst = Frame->top_field_first;
| ^~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:538:9: note: declared here
538 | int top_field_first;
| ^~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:84:39: warning: 'AVFrame::top_field_first' is deprecated [-Wdeprecated-declarations]
84 | LocalFrame.TopFieldFirst = Frame->top_field_first;
| ^~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:538:9: note: declared here
538 | int top_field_first;
| ^~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:84:39: warning: 'AVFrame::top_field_first' is deprecated [-Wdeprecated-declarations]
84 | LocalFrame.TopFieldFirst = Frame->top_field_first;
| ^~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:538:9: note: declared here
538 | int top_field_first;
| ^~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp: In constructor 'FFMS_VideoSource::FFMS_VideoSource(const char*, FFMS_Index&, int, int, int)':
../subprojects/ffms2/src/core/videosource.cpp:304:65: warning: 'AVStream::nb_side_data' is deprecated [-Wdeprecated-declarations]
304 | for (int i = 0; i < FormatContext->streams[VideoTrack]->nb_side_data; i++) {
| ^~~~~~~~~~~~
/usr/local/include/libavformat/avformat.h:972:20: note: declared here
972 | int nb_side_data;
| ^~~~~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:304:65: warning: 'AVStream::nb_side_data' is deprecated [-Wdeprecated-declarations]
304 | for (int i = 0; i < FormatContext->streams[VideoTrack]->nb_side_data; i++) {
| ^~~~~~~~~~~~
/usr/local/include/libavformat/avformat.h:972:20: note: declared here
972 | int nb_side_data;
| ^~~~~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:304:65: warning: 'AVStream::nb_side_data' is deprecated [-Wdeprecated-declarations]
304 | for (int i = 0; i < FormatContext->streams[VideoTrack]->nb_side_data; i++) {
| ^~~~~~~~~~~~
/usr/local/include/libavformat/avformat.h:972:20: note: declared here
972 | int nb_side_data;
| ^~~~~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:305:53: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
305 | if (FormatContext->streams[VideoTrack]->side_data[i].type == AV_PKT_DATA_STEREO3D) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:305:53: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
305 | if (FormatContext->streams[VideoTrack]->side_data[i].type == AV_PKT_DATA_STEREO3D) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:305:53: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
305 | if (FormatContext->streams[VideoTrack]->side_data[i].type == AV_PKT_DATA_STEREO3D) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:306:108: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
306 | const AVStereo3D *StereoSideData = (const AVStereo3D *)FormatContext->streams[VideoTrack]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:306:108: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
306 | const AVStereo3D *StereoSideData = (const AVStereo3D *)FormatContext->streams[VideoTrack]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:306:108: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
306 | const AVStereo3D *StereoSideData = (const AVStereo3D *)FormatContext->streams[VideoTrack]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:309:60: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
309 | } else if (FormatContext->streams[VideoTrack]->side_data[i].type == AV_PKT_DATA_MASTERING_DISPLAY_METADATA) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:309:60: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
309 | } else if (FormatContext->streams[VideoTrack]->side_data[i].type == AV_PKT_DATA_MASTERING_DISPLAY_METADATA) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:309:60: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
309 | } else if (FormatContext->streams[VideoTrack]->side_data[i].type == AV_PKT_DATA_MASTERING_DISPLAY_METADATA) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:310:142: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
310 | const AVMasteringDisplayMetadata *MasteringDisplay = (const AVMasteringDisplayMetadata *)FormatContext->streams[VideoTrack]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:310:142: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
310 | const AVMasteringDisplayMetadata *MasteringDisplay = (const AVMasteringDisplayMetadata *)FormatContext->streams[VideoTrack]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:310:142: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
310 | const AVMasteringDisplayMetadata *MasteringDisplay = (const AVMasteringDisplayMetadata *)FormatContext->streams[VideoTrack]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:332:60: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
332 | } else if (FormatContext->streams[VideoTrack]->side_data[i].type == AV_PKT_DATA_CONTENT_LIGHT_LEVEL) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:332:60: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
332 | } else if (FormatContext->streams[VideoTrack]->side_data[i].type == AV_PKT_DATA_CONTENT_LIGHT_LEVEL) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:332:60: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
332 | } else if (FormatContext->streams[VideoTrack]->side_data[i].type == AV_PKT_DATA_CONTENT_LIGHT_LEVEL) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:333:135: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
333 | const AVContentLightMetadata *ContentLightLevel = (const AVContentLightMetadata *)FormatContext->streams[VideoTrack]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:333:135: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
333 | const AVContentLightMetadata *ContentLightLevel = (const AVContentLightMetadata *)FormatContext->streams[VideoTrack]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:333:135: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
333 | const AVContentLightMetadata *ContentLightLevel = (const AVContentLightMetadata *)FormatContext->streams[VideoTrack]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:346:86: warning: 'uint8_t* av_stream_get_side_data(const AVStream*, AVPacketSideDataType, size_t*)' is deprecated [-Wdeprecated-declarations]
346 | int32_t *RotationMatrix = reinterpret_cast<int32_t *>(av_stream_get_side_data(FormatContext->streams[VideoTrack], AV_PKT_DATA_DISPLAYMATRIX, nullptr));
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libavformat/avformat.h:1913:10: note: declared here
1913 | uint8_t *av_stream_get_side_data(const AVStream *stream,
| ^~~~~~~~~~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp: In member function 'void FFMS_VideoSource::SetVideoProperties()':
../subprojects/ffms2/src/core/videosource.cpp:601:37: warning: 'AVFrame::top_field_first' is deprecated [-Wdeprecated-declarations]
601 | VP.TopFieldFirst = DecodeFrame->top_field_first;
| ^~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:538:9: note: declared here
538 | int top_field_first;
| ^~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:601:37: warning: 'AVFrame::top_field_first' is deprecated [-Wdeprecated-declarations]
601 | VP.TopFieldFirst = DecodeFrame->top_field_first;
| ^~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:538:9: note: declared here
538 | int top_field_first;
| ^~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:601:37: warning: 'AVFrame::top_field_first' is deprecated [-Wdeprecated-declarations]
601 | VP.TopFieldFirst = DecodeFrame->top_field_first;
| ^~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:538:9: note: declared here
538 | int top_field_first;
| ^~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp: In member function 'bool FFMS_VideoSource::DecodePacket(AVPacket*)':
../subprojects/ffms2/src/core/videosource.cpp:682:31: warning: 'AVFrame::interlaced_frame' is deprecated [-Wdeprecated-declarations]
682 | if (LastDecodedFrame->interlaced_frame == 1)
| ^~~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:530:9: note: declared here
530 | int interlaced_frame;
| ^~~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:682:31: warning: 'AVFrame::interlaced_frame' is deprecated [-Wdeprecated-declarations]
682 | if (LastDecodedFrame->interlaced_frame == 1)
| ^~~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:530:9: note: declared here
530 | int interlaced_frame;
| ^~~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/videosource.cpp:682:31: warning: 'AVFrame::interlaced_frame' is deprecated [-Wdeprecated-declarations]
682 | if (LastDecodedFrame->interlaced_frame == 1)
| ^~~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:530:9: note: declared here
530 | int interlaced_frame;
| ^~~~~~~~~~~~~~~~
[9/499] Compiling C++ object subprojects/ffms2/libffms2.a.p/src_core_zipfile.cpp.o
In file included from ../subprojects/ffms2/src/core/zipfile.cpp:27:
../subprojects/ffms2/src/core/utils.h:102:10: warning: unnecessary parentheses in declaration of 'ptr' [-Wparentheses]
102 | T(FFMS_Struct::*ptr);
| ^~~~~~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/utils.h:102:10: note: remove parentheses
102 | T(FFMS_Struct::*ptr);
| ^~~~~~~~~~~~~~~~~~~
| - -
[12/499] Compiling C++ object subprojects/ffms2/libffms2.a.p/src_core_indexing.cpp.o
In file included from ../subprojects/ffms2/src/core/indexing.h:24,
from ../subprojects/ffms2/src/core/indexing.cpp:21:
../subprojects/ffms2/src/core/utils.h:102:10: warning: unnecessary parentheses in declaration of 'ptr' [-Wparentheses]
102 | T(FFMS_Struct::*ptr);
| ^~~~~~~~~~~~~~~~~~~
../subprojects/ffms2/src/core/utils.h:102:10: note: remove parentheses
102 | T(FFMS_Struct::*ptr);
| ^~~~~~~~~~~~~~~~~~~
| - -
[68/499] Compiling C object subprojects/jansson/libjansson.a.p/src_error.c.o
In function 'jsonp_error_set_source',
inlined from 'jsonp_error_set_source' at ../subprojects/jansson/src/error.c:17:6:
../subprojects/jansson/src/error.c:25:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
25 | strncpy(error->source, source, length + 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../subprojects/jansson/src/error.c:23:14: note: length computed here
23 | length = strlen(source);
| ^~~~~~~~~~~~~~
[84/499] Compiling C++ object subprojects/bestsource/libbestsource.a.p/src_videosource.cpp.o
../subprojects/bestsource/src/videosource.cpp: In member function 'void LWVideoDecoder::SetVideoProperties()':
../subprojects/bestsource/src/videosource.cpp:330:62: warning: 'AVStream::nb_side_data' is deprecated [-Wdeprecated-declarations]
330 | for (int i = 0; i < FormatContext->streams[TrackNumber]->nb_side_data; i++) {
| ^~~~~~~~~~~~
In file included from ../subprojects/bestsource/src/videosource.cpp:30:
/usr/local/include/libavformat/avformat.h:972:20: note: declared here
972 | int nb_side_data;
| ^~~~~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:330:62: warning: 'AVStream::nb_side_data' is deprecated [-Wdeprecated-declarations]
330 | for (int i = 0; i < FormatContext->streams[TrackNumber]->nb_side_data; i++) {
| ^~~~~~~~~~~~
/usr/local/include/libavformat/avformat.h:972:20: note: declared here
972 | int nb_side_data;
| ^~~~~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:330:62: warning: 'AVStream::nb_side_data' is deprecated [-Wdeprecated-declarations]
330 | for (int i = 0; i < FormatContext->streams[TrackNumber]->nb_side_data; i++) {
| ^~~~~~~~~~~~
/usr/local/include/libavformat/avformat.h:972:20: note: declared here
972 | int nb_side_data;
| ^~~~~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:331:50: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
331 | if (FormatContext->streams[TrackNumber]->side_data[i].type == AV_PKT_DATA_STEREO3D) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:331:50: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
331 | if (FormatContext->streams[TrackNumber]->side_data[i].type == AV_PKT_DATA_STEREO3D) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:331:50: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
331 | if (FormatContext->streams[TrackNumber]->side_data[i].type == AV_PKT_DATA_STEREO3D) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:332:105: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
332 | const AVStereo3D *StereoSideData = (const AVStereo3D *)FormatContext->streams[TrackNumber]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:332:105: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
332 | const AVStereo3D *StereoSideData = (const AVStereo3D *)FormatContext->streams[TrackNumber]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:332:105: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
332 | const AVStereo3D *StereoSideData = (const AVStereo3D *)FormatContext->streams[TrackNumber]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:335:57: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
335 | } else if (FormatContext->streams[TrackNumber]->side_data[i].type == AV_PKT_DATA_MASTERING_DISPLAY_METADATA) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:335:57: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
335 | } else if (FormatContext->streams[TrackNumber]->side_data[i].type == AV_PKT_DATA_MASTERING_DISPLAY_METADATA) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:335:57: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
335 | } else if (FormatContext->streams[TrackNumber]->side_data[i].type == AV_PKT_DATA_MASTERING_DISPLAY_METADATA) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:336:139: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
336 | const AVMasteringDisplayMetadata *MasteringDisplay = (const AVMasteringDisplayMetadata *)FormatContext->streams[TrackNumber]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:336:139: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
336 | const AVMasteringDisplayMetadata *MasteringDisplay = (const AVMasteringDisplayMetadata *)FormatContext->streams[TrackNumber]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:336:139: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
336 | const AVMasteringDisplayMetadata *MasteringDisplay = (const AVMasteringDisplayMetadata *)FormatContext->streams[TrackNumber]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:358:57: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
358 | } else if (FormatContext->streams[TrackNumber]->side_data[i].type == AV_PKT_DATA_CONTENT_LIGHT_LEVEL) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:358:57: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
358 | } else if (FormatContext->streams[TrackNumber]->side_data[i].type == AV_PKT_DATA_CONTENT_LIGHT_LEVEL) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:358:57: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
358 | } else if (FormatContext->streams[TrackNumber]->side_data[i].type == AV_PKT_DATA_CONTENT_LIGHT_LEVEL) {
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:359:132: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
359 | const AVContentLightMetadata *ContentLightLevel = (const AVContentLightMetadata *)FormatContext->streams[TrackNumber]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:359:132: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
359 | const AVContentLightMetadata *ContentLightLevel = (const AVContentLightMetadata *)FormatContext->streams[TrackNumber]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:359:132: warning: 'AVStream::side_data' is deprecated [-Wdeprecated-declarations]
359 | const AVContentLightMetadata *ContentLightLevel = (const AVContentLightMetadata *)FormatContext->streams[TrackNumber]->side_data[i].data;
| ^~~~~~~~~
/usr/local/include/libavformat/avformat.h:964:23: note: declared here
964 | AVPacketSideData *side_data;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:371:82: warning: 'uint8_t* av_stream_get_side_data(const AVStream*, AVPacketSideDataType, size_t*)' is deprecated [-Wdeprecated-declarations]
371 | int32_t *RotationMatrix = reinterpret_cast<int32_t *>(av_stream_get_side_data(FormatContext->streams[TrackNumber], AV_PKT_DATA_DISPLAYMATRIX, nullptr));
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libavformat/avformat.h:1913:10: note: declared here
1913 | uint8_t *av_stream_get_side_data(const AVStream *stream,
| ^~~~~~~~~~~~~~~~~~~~~~~
../subprojects/bestsource/src/videosource.cpp: In constructor 'BestVideoFrame::BestVideoFrame(AVFrame*)':
../subprojects/bestsource/src/videosource.cpp:421:25: warning: 'AVFrame::key_frame' is deprecated [-Wdeprecated-declarations]
421 | KeyFrame = !!Frame->key_frame;
| ^~~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:327:
/usr/local/include/libavutil/frame.h:436:9: note: declared here
436 | int key_frame;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:421:25: warning: 'AVFrame::key_frame' is deprecated [-Wdeprecated-declarations]
421 | KeyFrame = !!Frame->key_frame;
| ^~~~~~~~~
/usr/local/include/libavutil/frame.h:436:9: note: declared here
436 | int key_frame;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:421:25: warning: 'AVFrame::key_frame' is deprecated [-Wdeprecated-declarations]
421 | KeyFrame = !!Frame->key_frame;
| ^~~~~~~~~
/usr/local/include/libavutil/frame.h:436:9: note: declared here
436 | int key_frame;
| ^~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:424:32: warning: 'AVFrame::interlaced_frame' is deprecated [-Wdeprecated-declarations]
424 | InterlacedFrame = !!Frame->interlaced_frame;
| ^~~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:530:9: note: declared here
530 | int interlaced_frame;
| ^~~~~~~~~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:424:32: warning: 'AVFrame::interlaced_frame' is deprecated [-Wdeprecated-declarations]
424 | InterlacedFrame = !!Frame->interlaced_frame;
| ^~~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:530:9: note: declared here
530 | int interlaced_frame;
| ^~~~~~~~~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:424:32: warning: 'AVFrame::interlaced_frame' is deprecated [-Wdeprecated-declarations]
424 | InterlacedFrame = !!Frame->interlaced_frame;
| ^~~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:530:9: note: declared here
530 | int interlaced_frame;
| ^~~~~~~~~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:425:30: warning: 'AVFrame::top_field_first' is deprecated [-Wdeprecated-declarations]
425 | TopFieldFirst = !!Frame->top_field_first;
| ^~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:538:9: note: declared here
538 | int top_field_first;
| ^~~~~~~~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:425:30: warning: 'AVFrame::top_field_first' is deprecated [-Wdeprecated-declarations]
425 | TopFieldFirst = !!Frame->top_field_first;
| ^~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:538:9: note: declared here
538 | int top_field_first;
| ^~~~~~~~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:425:30: warning: 'AVFrame::top_field_first' is deprecated [-Wdeprecated-declarations]
425 | TopFieldFirst = !!Frame->top_field_first;
| ^~~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:538:9: note: declared here
538 | int top_field_first;
| ^~~~~~~~~~~~~~~
../subprojects/bestsource/src/videosource.cpp: In member function 'bool BestVideoSource::GetExactDuration()':
../subprojects/bestsource/src/videosource.cpp:653:23: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
653 | for (int i = 0; i < MaxVideoSources; i++) {
| ~~^~~~~~~~~~~~~~~~~
../subprojects/bestsource/src/videosource.cpp: In member function 'BestVideoFrame* BestVideoSource::GetFrame(int64_t)':
../subprojects/bestsource/src/videosource.cpp:694:23: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
694 | for (int i = 0; i < MaxVideoSources; i++) {
| ~~^~~~~~~~~~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:701:27: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
701 | for (int i = 0; i < MaxVideoSources; i++) {
| ~~^~~~~~~~~~~~~~~~~
../subprojects/bestsource/src/videosource.cpp:713:27: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
713 | for (int i = 0; i < MaxVideoSources; i++) {
| ~~^~~~~~~~~~~~~~~~~
[89/499] Compiling C object vendor/luabins/src/libluabins.a.p/luabins.c.o
In file included from ../vendor/luabins/src/luabins.c:10:
../vendor/luabins/src/luabins.c: In function 'luaopen_luabins':
../vendor/luabins/src/saveload.h:28:7: warning: typedef 'static_assertion_failed_at_line_76' locally defined but not used [-Wunused-local-typedefs]
28 | static_assertion_failed_at_line_, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../vendor/luabins/src/saveload.h:23:27: note: in definition of macro 'LUABINS_CAT'
23 | #define LUABINS_CAT(a, b) a##b
| ^
../vendor/luabins/src/saveload.h:34:3: note: in expansion of macro 'luabins_static_assert_line'
34 | luabins_static_assert_line(pred, __LINE__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../vendor/luabins/src/luabins.c:76:3: note: in expansion of macro 'luabins_static_assert'
76 | luabins_static_assert(sizeof(int) >= LUABINS_LINT);
| ^~~~~~~~~~~~~~~~~~~~~
../vendor/luabins/src/saveload.h:28:7: warning: typedef 'static_assertion_failed_at_line_78' locally defined but not used [-Wunused-local-typedefs]
28 | static_assertion_failed_at_line_, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../vendor/luabins/src/saveload.h:23:27: note: in definition of macro 'LUABINS_CAT'
23 | #define LUABINS_CAT(a, b) a##b
| ^
../vendor/luabins/src/saveload.h:34:3: note: in expansion of macro 'luabins_static_assert_line'
34 | luabins_static_assert_line(pred, __LINE__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../vendor/luabins/src/luabins.c:78:3: note: in expansion of macro 'luabins_static_assert'
78 | luabins_static_assert(sizeof(size_t) >= LUABINS_LSIZET);
| ^~~~~~~~~~~~~~~~~~~~~
../vendor/luabins/src/saveload.h:28:7: warning: typedef 'static_assertion_failed_at_line_80' locally defined but not used [-Wunused-local-typedefs]
28 | static_assertion_failed_at_line_, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../vendor/luabins/src/saveload.h:23:27: note: in definition of macro 'LUABINS_CAT'
23 | #define LUABINS_CAT(a, b) a##b
| ^
../vendor/luabins/src/saveload.h:34:3: note: in expansion of macro 'luabins_static_assert_line'
34 | luabins_static_assert_line(pred, __LINE__)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../vendor/luabins/src/luabins.c:80:3: note: in expansion of macro 'luabins_static_assert'
80 | luabins_static_assert(sizeof(lua_Number) == LUABINS_LNUMBER);
| ^~~~~~~~~~~~~~~~~~~~~
[96/499] Compiling C++ object subprojects/bestsource/libbestsource.a.p/src_audiosource.cpp.o
../subprojects/bestsource/src/audiosource.cpp: In constructor 'LWAudioDecoder::LWAudioDecoder(const std::string&, int, const std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&, double)':
../subprojects/bestsource/src/audiosource.cpp:151:36: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
151 | AP.Channels = DecodeFrame->channels;
| ^~~~~~~~
In file included from /usr/local/include/libavformat/avformat.h:327,
from ../subprojects/bestsource/src/audiosource.cpp:32:
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:151:36: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
151 | AP.Channels = DecodeFrame->channels;
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:151:36: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
151 | AP.Channels = DecodeFrame->channels;
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:152:41: warning: 'AVFrame::channel_layout' is deprecated [-Wdeprecated-declarations]
152 | AP.ChannelLayout = DecodeFrame->channel_layout ? DecodeFrame->channel_layout : av_get_default_channel_layout(DecodeFrame->channels);
| ^~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:575:14: note: declared here
575 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:152:41: warning: 'AVFrame::channel_layout' is deprecated [-Wdeprecated-declarations]
152 | AP.ChannelLayout = DecodeFrame->channel_layout ? DecodeFrame->channel_layout : av_get_default_channel_layout(DecodeFrame->channels);
| ^~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:575:14: note: declared here
575 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:152:41: warning: 'AVFrame::channel_layout' is deprecated [-Wdeprecated-declarations]
152 | AP.ChannelLayout = DecodeFrame->channel_layout ? DecodeFrame->channel_layout : av_get_default_channel_layout(DecodeFrame->channels);
| ^~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:575:14: note: declared here
575 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:152:71: warning: 'AVFrame::channel_layout' is deprecated [-Wdeprecated-declarations]
152 | AP.ChannelLayout = DecodeFrame->channel_layout ? DecodeFrame->channel_layout : av_get_default_channel_layout(DecodeFrame->channels);
| ^~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:575:14: note: declared here
575 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:152:71: warning: 'AVFrame::channel_layout' is deprecated [-Wdeprecated-declarations]
152 | AP.ChannelLayout = DecodeFrame->channel_layout ? DecodeFrame->channel_layout : av_get_default_channel_layout(DecodeFrame->channels);
| ^~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:575:14: note: declared here
575 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:152:71: warning: 'AVFrame::channel_layout' is deprecated [-Wdeprecated-declarations]
152 | AP.ChannelLayout = DecodeFrame->channel_layout ? DecodeFrame->channel_layout : av_get_default_channel_layout(DecodeFrame->channels);
| ^~~~~~~~~~~~~~
/usr/local/include/libavutil/frame.h:575:14: note: declared here
575 | uint64_t channel_layout;
| ^~~~~~~~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:152:131: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
152 | AP.ChannelLayout = DecodeFrame->channel_layout ? DecodeFrame->channel_layout : av_get_default_channel_layout(DecodeFrame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:152:131: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
152 | AP.ChannelLayout = DecodeFrame->channel_layout ? DecodeFrame->channel_layout : av_get_default_channel_layout(DecodeFrame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:152:131: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
152 | AP.ChannelLayout = DecodeFrame->channel_layout ? DecodeFrame->channel_layout : av_get_default_channel_layout(DecodeFrame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:152:117: warning: 'int64_t av_get_default_channel_layout(int)' is deprecated [-Wdeprecated-declarations]
152 | AP.ChannelLayout = DecodeFrame->channel_layout ? DecodeFrame->channel_layout : av_get_default_channel_layout(DecodeFrame->channels);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/libavutil/opt.h:32,
from ../subprojects/bestsource/src/audiosource.cpp:30:
/usr/local/include/libavutil/channel_layout.h:494:9: note: declared here
494 | int64_t av_get_default_channel_layout(int nb_channels);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../subprojects/bestsource/src/audiosource.cpp: In constructor 'BestAudioSource::CacheBlock::CacheBlock(int64_t, int64_t, AVFrame*)':
../subprojects/bestsource/src/audiosource.cpp:254:42: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
254 | Storage.resize(LineSize * Frame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:254:42: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
254 | Storage.resize(LineSize * Frame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:254:42: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
254 | Storage.resize(LineSize * Frame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:257:84: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
257 | UnpackChannels<uint8_t>(Frame->data[0], Storage.data(), Length, Frame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:257:84: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
257 | UnpackChannels<uint8_t>(Frame->data[0], Storage.data(), Length, Frame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:257:84: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
257 | UnpackChannels<uint8_t>(Frame->data[0], Storage.data(), Length, Frame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:259:85: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
259 | UnpackChannels<uint16_t>(Frame->data[0], Storage.data(), Length, Frame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:259:85: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
259 | UnpackChannels<uint16_t>(Frame->data[0], Storage.data(), Length, Frame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:259:85: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
259 | UnpackChannels<uint16_t>(Frame->data[0], Storage.data(), Length, Frame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:261:85: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
261 | UnpackChannels<uint32_t>(Frame->data[0], Storage.data(), Length, Frame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:261:85: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
261 | UnpackChannels<uint32_t>(Frame->data[0], Storage.data(), Length, Frame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:261:85: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
261 | UnpackChannels<uint32_t>(Frame->data[0], Storage.data(), Length, Frame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:263:85: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
263 | UnpackChannels<uint64_t>(Frame->data[0], Storage.data(), Length, Frame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:263:85: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
263 | UnpackChannels<uint64_t>(Frame->data[0], Storage.data(), Length, Frame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:263:85: warning: 'AVFrame::channels' is deprecated [-Wdeprecated-declarations]
263 | UnpackChannels<uint64_t>(Frame->data[0], Storage.data(), Length, Frame->channels);
| ^~~~~~~~
/usr/local/include/libavutil/frame.h:731:9: note: declared here
731 | int channels;
| ^~~~~~~~
In file included from ../subprojects/bestsource/src/audiosource.cpp:21:
../subprojects/bestsource/src/audiosource.h: In constructor 'BestAudioSource::BestAudioSource(const std::string&, int, int, const std::string&, const std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >*, double)':
../subprojects/bestsource/src/audiosource.h:103:9: warning: 'BestAudioSource::AudioTrack' will be initialized after [-Wreorder]
103 | int AudioTrack;
| ^~~~~~~~~~
../subprojects/bestsource/src/audiosource.h:99:12: warning: 'double BestAudioSource::DrcScale' [-Wreorder]
99 | double DrcScale;
| ^~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:279:1: warning: when initialized here [-Wreorder]
279 | BestAudioSource::BestAudioSource(const std::string &SourceFile, int Track, int AjustDelay, const std::string &CachePath, const std::map<std::string, std::string> *LAVFOpts, double DrcScale) : Source(SourceFile), AudioTrack(Track), DrcScale(DrcScale) {
| ^~~~~~~~~~~~~~~
../subprojects/bestsource/src/audiosource.cpp: In member function 'bool BestAudioSource::GetExactDuration()':
../subprojects/bestsource/src/audiosource.cpp:352:23: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
352 | for (int i = 0; i < MaxAudioSources; i++) {
| ~~^~~~~~~~~~~~~~~~~
../subprojects/bestsource/src/audiosource.cpp: In member function 'void BestAudioSource::GetPlanarAudio(uint8_t* const*, int64_t, int64_t)':
../subprojects/bestsource/src/audiosource.cpp:451:23: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
451 | for (int i = 0; i < MaxAudioSources; i++) {
| ~~^~~~~~~~~~~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:458:27: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
458 | for (int i = 0; i < MaxAudioSources; i++) {
| ~~^~~~~~~~~~~~~~~~~
../subprojects/bestsource/src/audiosource.cpp:470:27: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
470 | for (int i = 0; i < MaxAudioSources; i++) {
| ~~^~~~~~~~~~~~~~~~~
[182/499] Compiling C++ object tests/gtest-main.p/tests_cajun.cpp.o
In file included from ../subprojects/googletest-release-1.8.1/googletest/include/gtest/gtest.h:59,
from ../tests/support/main.h:15,
from ../tests/tests/cajun.cpp:21:
../tests/tests/cajun.cpp: In member function 'virtual void lagi_cajun_CastNonConst_Test::TestBody()':
../tests/tests/cajun.cpp:38:25: warning: value computed is not used [-Wunused-value]
38 | EXPECT_NO_THROW(static_cast<json::Integer&>(Integer));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:39:25: warning: value computed is not used [-Wunused-value]
39 | EXPECT_NO_THROW(static_cast<json::Double&>(Double));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:40:25: warning: value computed is not used [-Wunused-value]
40 | EXPECT_NO_THROW(static_cast<json::String&>(String));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:41:25: warning: value computed is not used [-Wunused-value]
41 | EXPECT_NO_THROW(static_cast<json::Boolean&>(Boolean));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:42:25: warning: value computed is not used [-Wunused-value]
42 | EXPECT_NO_THROW(static_cast<json::Array&>(Array));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:43:25: warning: value computed is not used [-Wunused-value]
43 | EXPECT_NO_THROW(static_cast<json::Object&>(Object));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:45:25: warning: value computed is not used [-Wunused-value]
45 | EXPECT_NO_THROW(static_cast<json::Integer const&>(Integer));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:46:25: warning: value computed is not used [-Wunused-value]
46 | EXPECT_NO_THROW(static_cast<json::Double const&>(Double));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:47:25: warning: value computed is not used [-Wunused-value]
47 | EXPECT_NO_THROW(static_cast<json::String const&>(String));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:48:25: warning: value computed is not used [-Wunused-value]
48 | EXPECT_NO_THROW(static_cast<json::Boolean const&>(Boolean));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:49:25: warning: value computed is not used [-Wunused-value]
49 | EXPECT_NO_THROW(static_cast<json::Array const&>(Array));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:50:25: warning: value computed is not used [-Wunused-value]
50 | EXPECT_NO_THROW(static_cast<json::Object const&>(Object));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp: In member function 'virtual void lagi_cajun_CastConst_Test::TestBody()':
../tests/tests/cajun.cpp:70:25: warning: value computed is not used [-Wunused-value]
70 | EXPECT_NO_THROW(static_cast<json::Integer const&>(Integer));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:71:25: warning: value computed is not used [-Wunused-value]
71 | EXPECT_NO_THROW(static_cast<json::Double const&>(Double));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:72:25: warning: value computed is not used [-Wunused-value]
72 | EXPECT_NO_THROW(static_cast<json::String const&>(String));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:73:25: warning: value computed is not used [-Wunused-value]
73 | EXPECT_NO_THROW(static_cast<json::Boolean const&>(Boolean));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:74:25: warning: value computed is not used [-Wunused-value]
74 | EXPECT_NO_THROW(static_cast<json::Array const&>(Array));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:75:25: warning: value computed is not used [-Wunused-value]
75 | EXPECT_NO_THROW(static_cast<json::Object const&>(Object));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp: In member function 'virtual void lagi_cajun_ObjectStoreInteger_Test::TestBody()':
../tests/tests/cajun.cpp:90:22: warning: value computed is not used [-Wunused-value]
90 | EXPECT_THROW(static_cast<json::String const&>(obj["Integer"]), json::Exception);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:93:22: warning: value computed is not used [-Wunused-value]
93 | EXPECT_THROW(static_cast<json::Array const&>(obj["Integer"]), json::Exception);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:94:22: warning: value computed is not used [-Wunused-value]
94 | EXPECT_THROW(static_cast<json::Object const&>(obj["Integer"]), json::Exception);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp: In member function 'virtual void lagi_cajun_ObjectStoreDouble_Test::TestBody()':
../tests/tests/cajun.cpp:102:22: warning: value computed is not used [-Wunused-value]
102 | EXPECT_THROW(static_cast<json::String const&>(obj["Double"]), json::Exception);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:105:22: warning: value computed is not used [-Wunused-value]
105 | EXPECT_THROW(static_cast<json::Array const&>(obj["Double"]), json::Exception);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:106:22: warning: value computed is not used [-Wunused-value]
106 | EXPECT_THROW(static_cast<json::Object const&>(obj["Double"]), json::Exception);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp: In member function 'virtual void lagi_cajun_ObjectStoreString_Test::TestBody()':
../tests/tests/cajun.cpp:117:22: warning: value computed is not used [-Wunused-value]
117 | EXPECT_THROW(static_cast<json::Array const&>(obj["String"]), json::Exception);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:118:22: warning: value computed is not used [-Wunused-value]
118 | EXPECT_THROW(static_cast<json::Object const&>(obj["String"]), json::Exception);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp: In member function 'virtual void lagi_cajun_ObjectStoreBoolean_Test::TestBody()':
../tests/tests/cajun.cpp:126:22: warning: value computed is not used [-Wunused-value]
126 | EXPECT_THROW(static_cast<json::String const&>(obj["Boolean"]), json::Exception);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:129:22: warning: value computed is not used [-Wunused-value]
129 | EXPECT_THROW(static_cast<json::Array const&>(obj["Boolean"]), json::Exception);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:130:22: warning: value computed is not used [-Wunused-value]
130 | EXPECT_THROW(static_cast<json::Object const&>(obj["Boolean"]), json::Exception);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp: In member function 'virtual void lagi_cajun_ObjectStoreNull_Test::TestBody()':
../tests/tests/cajun.cpp:140:25: warning: value computed is not used [-Wunused-value]
140 | EXPECT_NO_THROW(static_cast<json::String const&>(obj["Null"]));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:152:25: warning: value computed is not used [-Wunused-value]
152 | EXPECT_NO_THROW(static_cast<json::Array const&>(obj["Null"]));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../tests/tests/cajun.cpp:155:25: warning: value computed is not used [-Wunused-value]
155 | EXPECT_NO_THROW(static_cast<json::Object const&>(obj["Null"]));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[257/499] Compiling C++ object libaegisub/libaegisub.a.p/common_karaoke_matcher.cpp.o
../libaegisub/common/karaoke_matcher.cpp: In function 'int {anonymous}::compare(const std::string&, const std::string&)':
../libaegisub/common/karaoke_matcher.cpp:53:85: warning: 'collator_base' is deprecated: Use collate_level [-Wdeprecated-declarations]
53 | return std::use_facet<collator<char>>(std::locale()).compare(collator_base::primary, a, b);
| ^~~~~~~
In file included from ../libaegisub/common/karaoke_matcher.cpp:25:
/usr/include/boost/locale/collator.hpp:34:49: note: declared here
34 | class BOOST_DEPRECATED("Use collate_level") collator_base {
| ^~~~~~~~~~~~~
[307/499] Compiling C++ object libaegisub/libaegisub.a.p/common_parser.cpp.o
In file included from /usr/include/boost/system/detail/requires_cxx11.hpp:9,
from /usr/include/boost/system/detail/config.hpp:11,
from /usr/include/boost/system/detail/error_category.hpp:13,
from /usr/include/boost/system/error_category.hpp:10,
from /usr/include/boost/filesystem/detail/path_traits.hpp:25,
from /usr/include/boost/filesystem/path.hpp:21,
from /usr/include/boost/filesystem.hpp:16,
from ../libaegisub/include/lagi_pre.h:38:
/usr/include/boost/spirit/include/phoenix_core.hpp:12:1: note: '#pragma message: This header is deprecated. Use <boost/phoenix/core.hpp> instead.'
12 | BOOST_HEADER_DEPRECATED("<boost/phoenix/core.hpp>")
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/spirit/include/phoenix_operator.hpp:12:1: note: '#pragma message: This header is deprecated. Use <boost/phoenix/operator.hpp> instead.'
12 | BOOST_HEADER_DEPRECATED("<boost/phoenix/operator.hpp>")
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/spirit/include/phoenix_fusion.hpp:12:1: note: '#pragma message: This header is deprecated. Use <boost/phoenix/fusion.hpp> instead.'
12 | BOOST_HEADER_DEPRECATED("<boost/phoenix/fusion.hpp>")
| ^~~~~~~~~~~~~~~~~~~~~~~
[311/499] Compiling C object aegisub.p/src_MatroskaParser.c.o
In function 'myvsnprintf',
inlined from 'errorjmp' at ../src/MatroskaParser.c:416:3:
../src/MatroskaParser.c:334:11: warning: 'll' may be used uninitialized [-Wmaybe-uninitialized]
334 | ++ll;
| ^~~~
../src/MatroskaParser.c: In function 'errorjmp':
../src/MatroskaParser.c:298:42: note: 'll' was declared here
298 | int state = 0, width, zero, neg, ll;
| ^~
In function 'myvsnprintf_uint',
inlined from 'myvsnprintf' at ../src/MatroskaParser.c:386:3,
inlined from 'errorjmp' at ../src/MatroskaParser.c:416:3:
../src/MatroskaParser.c:282:3: warning: 'neg' may be used uninitialized [-Wmaybe-uninitialized]
282 | myvsnprintf_uint_impl(pdest,de,width,zero,neg,base,letter,0,val);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/MatroskaParser.c: In function 'errorjmp':
../src/MatroskaParser.c:298:37: note: 'neg' was declared here
298 | int state = 0, width, zero, neg, ll;
| ^~~
In function 'myvsnprintf_uint',
inlined from 'myvsnprintf' at ../src/MatroskaParser.c:386:3,
inlined from 'errorjmp' at ../src/MatroskaParser.c:416:3:
../src/MatroskaParser.c:282:3: warning: 'zero' may be used uninitialized [-Wmaybe-uninitialized]
282 | myvsnprintf_uint_impl(pdest,de,width,zero,neg,base,letter,0,val);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/MatroskaParser.c: In function 'errorjmp':
../src/MatroskaParser.c:298:31: note: 'zero' was declared here
298 | int state = 0, width, zero, neg, ll;
| ^~~~
In function 'myvsnprintf',
inlined from 'errorjmp' at ../src/MatroskaParser.c:416:3:
../src/MatroskaParser.c:328:25: warning: 'width' may be used uninitialized [-Wmaybe-uninitialized]
328 | width = width * 10 + *fmt++ - '0';
| ~~~~~~^~~~
../src/MatroskaParser.c: In function 'errorjmp':
../src/MatroskaParser.c:298:24: note: 'width' was declared here
298 | int state = 0, width, zero, neg, ll;
| ^~~~~
../src/MatroskaParser.c: In function 'readFloat':
../src/MatroskaParser.c:797:11: warning: 'ui' may be used uninitialized [-Wmaybe-uninitialized]
797 | if (ui & 0x80000000)
| ^~
../src/MatroskaParser.c:787:15: note: 'ui' was declared here
787 | unsigned ui = (unsigned)readUInt(mf,(unsigned)len);
| ^~
[331/499] Compiling C++ object aegisub.p/src_audio_box.cpp.o
In file included from ../src/audio_box.cpp:36:
../src/audio_display.h:64:7: warning: 'AudioDisplay' has a field 'AudioDisplay::scrollbar' whose type uses the anonymous namespace [-Wsubobject-linkage]
64 | class AudioDisplay: public wxWindow {
| ^~~~~~~~~~~~
../src/audio_display.h:64:7: warning: 'AudioDisplay' has a field 'AudioDisplay::timeline' whose type uses the anonymous namespace [-Wsubobject-linkage]
[337/499] Compiling C++ object aegisub.p/src_audio_display.cpp.o
In file included from ../src/audio_display.cpp:31:
../src/audio_display.h:64:7: warning: 'AudioDisplay' has a field 'AudioDisplay::scrollbar' whose type uses the anonymous namespace [-Wsubobject-linkage]
64 | class AudioDisplay: public wxWindow {
| ^~~~~~~~~~~~
../src/audio_display.h:64:7: warning: 'AudioDisplay' has a field 'AudioDisplay::timeline' whose type uses the anonymous namespace [-Wsubobject-linkage]
[343/499] Compiling C++ object aegisub.p/src_audio_timing_karaoke.cpp.o
../src/audio_timing_karaoke.cpp: In member function 'void AudioTimingControllerKaraoke::AnnounceChanges(int)':
../src/audio_timing_karaoke.cpp:393:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
393 | if (syl == cur_syl || syl == cur_syl + 1) {
| ~~~~^~~~~~~~~~
../src/audio_timing_karaoke.cpp:393:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
393 | if (syl == cur_syl || syl == cur_syl + 1) {
| ~~~~^~~~~~~~~~~~~~
[347/499] Compiling C++ object aegisub.p/src_auto4_lua_assfile.cpp.o
../src/auto4_lua_assfile.cpp: In constructor 'Automation4::LuaAssFile::LuaAssFile(lua_State*, AssFile*, bool, bool)':
../src/auto4_lua_assfile.cpp:754:28: warning: unused variable 'line' [-Wunused-variable]
754 | for (auto& line : ass->Info)
| ^~~~
[357/499] Compiling C++ object aegisub.p/src_base_grid.cpp.o
../src/base_grid.cpp: In member function 'void BaseGrid::OnMouseEvent(wxMouseEvent&)':
../src/base_grid.cpp:469:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::unique_ptr<GridColumn> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
469 | for (col = 0; col < columns.size(); col++) {
| ~~~~^~~~~~~~~~~~~~~~
[406/499] Compiling C++ object aegisub.p/src_gl_wrap.cpp.o
In file included from ../src/gl_wrap.cpp:31:
../src/gl/glext.h:34: warning: "GL_GLEXT_VERSION" redefined
34 | #define GL_GLEXT_VERSION 62
|
In file included from /usr/include/GL/gl.h:2050,
from /usr/include/wx-3.2/wx/unix/glegl.h:13,
from /usr/include/wx-3.2/wx/gtk/glcanvas.h:17,
from /usr/include/wx-3.2/wx/glcanvas.h:328,
from ../src/include/agi_pre.h:153:
/usr/include/GL/glext.h:35: note: this is the location of the previous definition
35 | #define GL_GLEXT_VERSION 20220530
|
[409/499] Compiling C++ object aegisub.p/src_gl_text.cpp.o
In file included from ../src/gl_text.cpp:35:
../src/gl_text.h:46:7: warning: 'OpenGLText' has a field 'OpenGLText::glyphs' whose type uses the anonymous namespace [-Wsubobject-linkage]
46 | class OpenGLText {
| ^~~~~~~~~~
../src/gl_text.h:46:7: warning: 'OpenGLText' has a field 'OpenGLText::textures' whose type uses the anonymous namespace [-Wsubobject-linkage]
[413/499] Compiling C++ object aegisub.p/src_hotkey.cpp.o
../src/hotkey.cpp: In function 'void {anonymous}::migrate_hotkeys(const char* (*)[3])':
../src/hotkey.cpp:64:43: warning: comparing the result of pointer addition '(added + ((sizetype)(i * 24)))' and NULL [-Waddress]
64 | for (size_t i = 0; added[i] && added[i][0]; ++i) {
| ^
../src/hotkey.cpp: At global scope:
../src/hotkey.cpp:55:21: warning: '{anonymous}::added_hotkeys_minimize' defined but not used [-Wunused-variable]
55 | const char *added_hotkeys_minimize[][3] = {
| ^~~~~~~~~~~~~~~~~~~~~~
[434/499] Compiling C++ object aegisub.p/src_subs_edit_ctrl.cpp.o
../src/subs_edit_ctrl.cpp: In constructor 'SubsTextEditCtrl::SubsTextEditCtrl(wxWindow*, wxSize, long int, agi::Context*)':
../src/subs_edit_ctrl.cpp:105:17: warning: 'void wxStyledTextCtrl::UsePopUp(bool)' is deprecated: use UsePopUp(int) instead. [-Wdeprecated-declarations]
105 | UsePopUp(false);
| ~~~~~~~~^~~~~~~
In file included from ../src/include/agi_pre.h:187:
/usr/include/wx-3.2/wx/stc/stc.h:5449:10: note: declared here
5449 | void UsePopUp(bool allowPopUp);
| ^~~~~~~~
[463/499] Compiling C++ object aegisub.p/src_video_frame.cpp.o
../src/video_frame.cpp: In function 'wxImage GetImageWithAlpha(const VideoFrame&)':
../src/video_frame.cpp:57:27: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
57 | for (int y = 0; y < frame.height; y++) {
| ~~^~~~~~~~~~~~~~
../src/video_frame.cpp:58:35: warning: comparison of integer expressions of different signedness: 'int' and 'const size_t' {aka 'const long unsigned int'} [-Wsign-compare]
58 | for (int x = 0; x < frame.width; x++) {
| ~~^~~~~~~~~~~~~
[475/499] Compiling C++ object aegisub.p/src_visual_tool_cross.cpp.o
In file included from ../src/visual_tool_cross.cpp:23:
../src/gl_text.h:46:7: warning: 'OpenGLText' has a field 'OpenGLText::glyphs' whose type uses the anonymous namespace [-Wsubobject-linkage]
46 | class OpenGLText {
| ^~~~~~~~~~
../src/gl_text.h:46:7: warning: 'OpenGLText' has a field 'OpenGLText::textures' whose type uses the anonymous namespace [-Wsubobject-linkage]
[486/499] Compiling C++ object aegisub.p/src_vapoursynth_wrap.cpp.o
FAILED: aegisub.p/src_vapoursynth_wrap.cpp.o
c++ -Iaegisub.p -I. -I.. -I../libaegisub/include -Isrc/libresrc -I../src/libresrc -I../subprojects/avisynth/avs_core/include -Isubprojects/avisynth/__CMake_build -I../subprojects/avisynth/__CMake_build -Isubprojects/avisynth -I../subprojects/avisynth -I../subprojects/vapoursynth/include -Isrc -I../src -I../subprojects/ffms2/include -Isubprojects/hunspell-1.7.0/src -I../subprojects/hunspell-1.7.0/src -Isubprojects/uchardet-0.0.7/src -I../subprojects/uchardet-0.0.7/src -I../subprojects/bestsource/src -Isubprojects/luajit/src -I../subprojects/luajit/src -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include -I/usr/lib/wx/include/gtk3-unicode-3.2 -I/usr/include/wx-3.2 -fdiagnostics-color=always -fpch-preprocess -include agi_pre.h -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++14 -O2 -g -D_DEBUG -DHUNSPELL_STATIC -DFFMS_STATIC -DWXUSINGDLL -D__WXGTK3__ -D__WXGTK__ -pthread -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_USE_LIB=1 -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ aegisub.p/src_vapoursynth_wrap.cpp.o -MF aegisub.p/src_vapoursynth_wrap.cpp.o.d -o aegisub.p/src_vapoursynth_wrap.cpp.o -c ../src/vapoursynth_wrap.cpp
../src/vapoursynth_wrap.cpp: In constructor 'VapourSynthWrapper::VapourSynthWrapper()':
../src/vapoursynth_wrap.cpp:41:48: error: 'RTLD_DEEPBIND' was not declared in this scope
41 | #define DLOPEN_FLAGS RTLD_LAZY | RTLD_GLOBAL | RTLD_DEEPBIND
| ^~~~~~~~~~~~~
../src/vapoursynth_wrap.cpp:41:48: note: in definition of macro 'DLOPEN_FLAGS'
41 | #define DLOPEN_FLAGS RTLD_LAZY | RTLD_GLOBAL | RTLD_DEEPBIND
| ^~~~~~~~~~~~~
[490/499] Compiling C++ object aegisub.p/src_video_provider_bestsource.cpp.o
../src/video_provider_bestsource.cpp: In lambda function:
../src/video_provider_bestsource.cpp:141:50: warning: 'AVFrame::key_frame' is deprecated [-Wdeprecated-declarations]
141 | if (frame->GetAVFrame()->key_frame) {
| ^~~~~~~~~
In file included from ../src/video_provider_bestsource.cpp:30:
/usr/local/include/libavutil/frame.h:436:9: note: declared here
436 | int key_frame;
| ^~~~~~~~~
../src/video_provider_bestsource.cpp:141:50: warning: 'AVFrame::key_frame' is deprecated [-Wdeprecated-declarations]
141 | if (frame->GetAVFrame()->key_frame) {
| ^~~~~~~~~
/usr/local/include/libavutil/frame.h:436:9: note: declared here
436 | int key_frame;
| ^~~~~~~~~
../src/video_provider_bestsource.cpp:141:50: warning: 'AVFrame::key_frame' is deprecated [-Wdeprecated-declarations]
141 | if (frame->GetAVFrame()->key_frame) {
| ^~~~~~~~~
/usr/local/include/libavutil/frame.h:436:9: note: declared here
436 | int key_frame;
| ^~~~~~~~~
[491/499] Compiling C++ object aegisub.p/src_visual_tool.cpp.o
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment