Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build with gcc >= 14 #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ffontaine
Copy link

Add missing includes to avoid the following build failure with gcc >= 14:

codec_skeleton.c: In function 'skeleton_process_fisbone_message_header': codec_skeleton.c:119:9: error: implicit declaration of function 'utf8_decode' [-Wimplicit-function-declaration]
  119 |     if (utf8_decode(header, &decoded) < 0) {
      |         ^~~~~~~~~~~

Fixes:

Add missing includes to avoid the following build failure with gcc >=
14:

codec_skeleton.c: In function 'skeleton_process_fisbone_message_header':
codec_skeleton.c:119:9: error: implicit declaration of function 'utf8_decode' [-Wimplicit-function-declaration]
  119 |     if (utf8_decode(header, &decoded) < 0) {
      |         ^~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/bb5d56d836e7d0f2a62daa9954878ad6e0b190ed

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
@Eonfge
Copy link

Eonfge commented Sep 12, 2024

Necessary for Flatpak support. With the release of FreeDesktop SDK 24.08, these kinds of issues are no longer permitted. I would recommend you to merge this

Eonfge added a commit to flathub/ca.littlesvr.asunder that referenced this pull request Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants