Arun Raghavan pushed to branch master at PulseAudio / webrtc-audio-processing
Commits: e9c78dc4 by François Laignel at 2025-04-14T16:48:19+02:00 Fix compilation with gcc-15 This commit fixes compilation errors with gcc-15 (default for Fedora 42). >From [1]: > Common C++ headers (like <memory>) in GCC 15.0.0 (combined with libstdc++) > don't transitively include uint64_t anymore. See also [2]. [1]: https://github.com/ROCm/rocm_smi_lib/pull/198 [2]: https://github.com/root-project/root/issues/17444 - - - - - a260b2e8 by François Laignel at 2025-04-15T19:18:03+02:00 patches: Track Fix compilation with gcc-15 - - - - - 3 changed files: - + patches/0001-Fix-compilation-with-gcc-15.patch - webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h - webrtc/rtc_base/trace_event.h Changes: ===================================== patches/0001-Fix-compilation-with-gcc-15.patch ===================================== @@ -0,0 +1,48 @@ +From e9c78dc4712fa6362b0c839ad57b6b46dce1ba83 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= <[email protected]> +Date: Mon, 14 Apr 2025 16:48:19 +0200 +Subject: [PATCH] Fix compilation with gcc-15 + +This commit fixes compilation errors with gcc-15 (default for Fedora 42). + +From [1]: + +> Common C++ headers (like <memory>) in GCC 15.0.0 (combined with libstdc++) +> don't transitively include uint64_t anymore. + +See also [2]. + +[1]: https://github.com/ROCm/rocm_smi_lib/pull/198 +[2]: https://github.com/root-project/root/issues/17444 +--- + .../audio_processing/aec3/multi_channel_content_detector.h | 1 + + webrtc/rtc_base/trace_event.h | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h b/webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h +index 2b2f3b8..feb29fd 100644 +--- a/webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h ++++ b/webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h +@@ -12,6 +12,7 @@ + #define MODULES_AUDIO_PROCESSING_AEC3_MULTI_CHANNEL_CONTENT_DETECTOR_H_ + + #include <stddef.h> ++#include <cstdint> + + #include <memory> + #include <optional> +diff --git a/webrtc/rtc_base/trace_event.h b/webrtc/rtc_base/trace_event.h +index 2aee713..f88a68e 100644 +--- a/webrtc/rtc_base/trace_event.h ++++ b/webrtc/rtc_base/trace_event.h +@@ -28,6 +28,7 @@ + + #if !defined(RTC_USE_PERFETTO) + #include <string> ++#include <cstdint> + + #include "rtc_base/event_tracer.h" + +-- +2.49.0 + ===================================== webrtc/modules/audio_processing/aec3/multi_channel_content_detector.h ===================================== @@ -12,6 +12,7 @@ #define MODULES_AUDIO_PROCESSING_AEC3_MULTI_CHANNEL_CONTENT_DETECTOR_H_ #include <stddef.h> +#include <cstdint> #include <memory> #include <optional> ===================================== webrtc/rtc_base/trace_event.h ===================================== @@ -28,6 +28,7 @@ #if !defined(RTC_USE_PERFETTO) #include <string> +#include <cstdint> #include "rtc_base/event_tracer.h" View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/compare/846fe90a289f58b7c9303a635142aa2c7caa93e5...a260b2e8b9ca00119eb6c683121d5c40e040bce6 -- View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/compare/846fe90a289f58b7c9303a635142aa2c7caa93e5...a260b2e8b9ca00119eb6c683121d5c40e040bce6 You're receiving this email because of your account on gitlab.freedesktop.org.
