xiph / vorbis-tools

Command-line tools for creating and playing Ogg Vorbis files.
GNU General Public License v2.0
73 stars 28 forks source link

Compile error on implicit declaration #49

Open Eonfge opened 6 days ago

Eonfge commented 6 days ago

This becomes a problem with the latest version of FreeDesktop SDK 24.08 which has a fairly strict set of rules for 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) {
      |         ^~~~~~~~~~~
Eonfge commented 6 days ago

Luckily, there is already a fix: https://github.com/xiph/vorbis-tools/pull/48