[pulseaudio-commits] [Git][pulseaudio/webrtc-audio-processing][master] file_utils.h: Fix build with gcc-13

Arun Raghavan (@arun) gitlab at gitlab.freedesktop.org
Thu May 25 22:16:44 UTC 2023



Arun Raghavan pushed to branch master at PulseAudio / webrtc-audio-processing


Commits:
cdec1093 by Martin Jansa at 2023-05-25T18:13:04-04:00
file_utils.h: Fix build with gcc-13

* add missing include as reported by gcc-13:
webrtc/modules/audio_processing/transient/file_utils.cc:11:
../webrtc-audio-processing-1.0/webrtc/modules/audio_processing/transient/file_utils.h:36:35: error: 'uint8_t' does not name a type
   36 | int ConvertByteArrayToFloat(const uint8_t bytes[4], float* out);
      |                                   ^~~~~~~
webrtc/modules/audio_processing/transient/file_utils.h:17:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   16 | #include "rtc_base/system/file_wrapper.h"
  +++ |+#include <cstdint>
   17 |

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

- - - - -


1 changed file:

- webrtc/modules/audio_processing/transient/file_utils.h


Changes:

=====================================
webrtc/modules/audio_processing/transient/file_utils.h
=====================================
@@ -12,6 +12,7 @@
 #define MODULES_AUDIO_PROCESSING_TRANSIENT_FILE_UTILS_H_
 
 #include <string.h>
+#include <cstdint>
 
 #include "rtc_base/system/file_wrapper.h"
 



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commit/cdec109331de34958a892a1418d67806b171b862

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commit/cdec109331de34958a892a1418d67806b171b862
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20230525/2efdfa20/attachment.htm>


More information about the pulseaudio-commits mailing list