[ 70%] Building CXX object src/CMakeFiles/Audacity.dir/AudacityLogger.cpp.o In file included from /usr/local/share/audacity/audacity-Audacity-2.4.2/include/audacity/Types.h:49, from /usr/local/share/audacity/audacity-Audacity-2.4.2/src/AudacityApp.h:18, from /usr/local/share/audacity/audacity-Audacity-2.4.2/src/AudacityApp.cpp:19: /usr/local/share/audacity/audacity-Audacity-2.4.2/include/audacity/Types.h: In member function ‘size_t sampleCount::as_size_t() const’: /usr/local/share/audacity/audacity-Audacity-2.4.2/include/audacity/Types.h:630:75: error: ‘numeric_limits’ is not a member of ‘std’ 630 | wxASSERT(static_cast::type>(value) <= std::numeric_limits::max()); | ^~~~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/build/cmake-proxies/wxWidgets/wxwidgets/include/wx/debug.h:285:18: note: in definition of macro ‘wxASSERT_MSG_AT’ 285 | if ( cond ) \ | ^~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/build/cmake-proxies/wxWidgets/wxwidgets/include/wx/debug.h:303:28: note: in expansion of macro ‘wxASSERT_MSG’ 303 | #define wxASSERT(cond) wxASSERT_MSG(cond, (const char*)NULL) | ^~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/include/audacity/Types.h:630:7: note: in expansion of macro ‘wxASSERT’ 630 | wxASSERT(static_cast::type>(value) <= std::numeric_limits::max()); | ^~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/include/audacity/Types.h:630:96: error: expected primary-expression before ‘>’ token 630 | wxASSERT(static_cast::type>(value) <= std::numeric_limits::max()); | ^ /usr/local/share/audacity/audacity-Audacity-2.4.2/build/cmake-proxies/wxWidgets/wxwidgets/include/wx/debug.h:285:18: note: in definition of macro ‘wxASSERT_MSG_AT’ 285 | if ( cond ) \ | ^~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/build/cmake-proxies/wxWidgets/wxwidgets/include/wx/debug.h:303:28: note: in expansion of macro ‘wxASSERT_MSG’ 303 | #define wxASSERT(cond) wxASSERT_MSG(cond, (const char*)NULL) | ^~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/include/audacity/Types.h:630:7: note: in expansion of macro ‘wxASSERT’ 630 | wxASSERT(static_cast::type>(value) <= std::numeric_limits::max()); | ^~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/include/audacity/Types.h:630:99: error: ‘::max’ has not been declared; did you mean ‘std::max’? 630 | wxASSERT(static_cast::type>(value) <= std::numeric_limits::max()); | ^~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/build/cmake-proxies/wxWidgets/wxwidgets/include/wx/debug.h:285:18: note: in definition of macro ‘wxASSERT_MSG_AT’ 285 | if ( cond ) \ | ^~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/build/cmake-proxies/wxWidgets/wxwidgets/include/wx/debug.h:303:28: note: in expansion of macro ‘wxASSERT_MSG’ 303 | #define wxASSERT(cond) wxASSERT_MSG(cond, (const char*)NULL) | ^~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/include/audacity/Types.h:630:7: note: in expansion of macro ‘wxASSERT’ 630 | wxASSERT(static_cast::type>(value) <= std::numeric_limits::max()); | ^~~~~~~~ In file included from /usr/include/c++/12/algorithm:61, from /usr/local/share/audacity/audacity-Audacity-2.4.2/include/audacity/Types.h:45: /usr/include/c++/12/bits/stl_algo.h:5756:5: note: ‘std::max’ declared here 5756 | max(initializer_list<_Tp> __l, _Compare __comp) | ^~~ In file included from /usr/local/share/audacity/audacity-Audacity-2.4.2/src/AudacityApp.cpp:82: /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h: At global scope: /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:549:7: error: conflicting declaration of C function ‘AVCodec* avcodec_find_encoder(AVCodecID)’ 549 | avcodec_find_encoder, | ^~~~~~~~~~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:456:16: note: in definition of macro ‘FFMPEG_FUNCTION_WITH_RETURN’ 456 | inline r n a \ | ^ In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:40, from /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:53: /usr/include/x86_64-linux-gnu/libavcodec/codec.h:282:16: note: previous declaration ‘const AVCodec* avcodec_find_encoder(AVCodecID)’ 282 | const AVCodec *avcodec_find_encoder(enum AVCodecID id); | ^~~~~~~~~~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:555:7: error: conflicting declaration of C function ‘AVCodec* avcodec_find_encoder_by_name(const char*)’ 555 | avcodec_find_encoder_by_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:456:16: note: in definition of macro ‘FFMPEG_FUNCTION_WITH_RETURN’ 456 | inline r n a \ | ^ /usr/include/x86_64-linux-gnu/libavcodec/codec.h:290:16: note: previous declaration ‘const AVCodec* avcodec_find_encoder_by_name(const char*)’ 290 | const AVCodec *avcodec_find_encoder_by_name(const char *name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:561:7: error: conflicting declaration of C function ‘AVCodec* avcodec_find_decoder(AVCodecID)’ 561 | avcodec_find_decoder, | ^~~~~~~~~~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:456:16: note: in definition of macro ‘FFMPEG_FUNCTION_WITH_RETURN’ 456 | inline r n a \ | ^ /usr/include/x86_64-linux-gnu/libavcodec/codec.h:266:16: note: previous declaration ‘const AVCodec* avcodec_find_decoder(AVCodecID)’ 266 | const AVCodec *avcodec_find_decoder(enum AVCodecID id); | ^~~~~~~~~~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:639:7: error: conflicting declaration of C function ‘int avformat_open_input(AVFormatContext**, const char*, AVInputFormat*, AVDictionary**)’ 639 | avformat_open_input, | ^~~~~~~~~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:456:16: note: in definition of macro ‘FFMPEG_FUNCTION_WITH_RETURN’ 456 | inline r n a \ | ^ In file included from /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:54: /usr/include/x86_64-linux-gnu/libavformat/avformat.h:2107:5: note: previous declaration ‘int avformat_open_input(AVFormatContext**, const char*, const AVInputFormat*, AVDictionary**)’ 2107 | int avformat_open_input(AVFormatContext **ps, const char *url, | ^~~~~~~~~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:721:7: error: conflicting declaration of C function ‘AVOutputFormat* av_guess_format(const char*, const char*, const char*)’ 721 | av_guess_format, | ^~~~~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:456:16: note: in definition of macro ‘FFMPEG_FUNCTION_WITH_RETURN’ 456 | inline r n a \ | ^ /usr/include/x86_64-linux-gnu/libavformat/avformat.h:2490:23: note: previous declaration ‘const AVOutputFormat* av_guess_format(const char*, const char*, const char*)’ 2490 | const AVOutputFormat *av_guess_format(const char *short_name, | ^~~~~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h: In constructor ‘AVPacketEx::AVPacketEx()’: /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:892:21: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] 892 | av_init_packet(this); | ~~~~~~~~~~~~~~^~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:743:7: note: declared here 743 | av_init_packet, | ^~~~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:466:19: note: in definition of macro ‘FFMPEG_FUNCTION_NO_RETURN’ 466 | inline void n a \ | ^ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h: In member function ‘void AVPacketEx::steal(AVPacketEx&&)’: /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:926:21: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations] 926 | av_init_packet(&that); | ~~~~~~~~~~~~~~^~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:743:7: note: declared here 743 | av_init_packet, | ^~~~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:466:19: note: in definition of macro ‘FFMPEG_FUNCTION_NO_RETURN’ 466 | inline void n a \ | ^ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h: At global scope: /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:971:61: warning: ‘void av_fifo_free(AVFifoBuffer*)’ is deprecated [-Wdeprecated-declarations] 971 | AVFifoBuffer, AV_Deleter | ^ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:754:7: note: declared here 754 | av_fifo_free, | ^~~~~~~~~~~~ /usr/local/share/audacity/audacity-Audacity-2.4.2/src/FFmpeg.h:466:19: note: in definition of macro ‘FFMPEG_FUNCTION_NO_RETURN’ 466 | inline void n a \ | ^ make[2]: *** [src/CMakeFiles/Audacity.dir/build.make:132: src/CMakeFiles/Audacity.dir/AudacityApp.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:2015: src/CMakeFiles/Audacity.dir/all] Error 2 make: *** [Makefile:136: all] Error 2