Skip to content

Build fix for Clang compilers - #172

Open
ercansormaz wants to merge 1 commit into
mpeg5:masterfrom
ercandev:ercansormaz-build-patch
Open

ercansormaz wants to merge 1 commit into
mpeg5:masterfrom
ercandev:ercansormaz-build-patch

Conversation

@ercansormaz

@ercansormaz ercansormaz commented Aug 26, 2026 •

Copy link
Copy Markdown

When I try to build xeve to use in ffmpeg on Intel MacOS Sequoia 15.7.9

cmake -DCMAKE_FIND_ROOT_PATH="$HOME/Applications/ffmpeg_library" -DCMAKE_INSTALL_PREFIX="$HOME/Applications/ffmpeg_library" -DCMAKE_BUILD_TYPE=Release ..
Version string has been taken from git tag.
XEVE VERSION=0.7.0
-- The C compiler identification is AppleClang 17.0.0.17000013
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMAKE_BUILD_TYPE=Release
SET_PROF=MAIN
SYSTEM_PROCESSOR=x86_64
ARM=
Compiler ID: AppleClang
Compiler version: 17.0.0.17000013
Using unix type compiler (gcc or mingw)
c Flags: -DNDEBUG -O3 -fomit-frame-pointer -pthread -std=c99 -Wall -Werror -Wno-pointer-sign -Wno-unused-function -Wno-unused-but-set-variable -Wno-unused-variable -Wno-attributes -Wno-strict-overflow -Wno-unknown-pragmas -Wno-stringop-overflow -Wno-pointer-to-int-cast -Wno-maybe-uninitialized
linker Flags: -lm
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Failed
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Failed
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
-- Performing Test COMPILER_HAS_DEPRECATED
-- Performing Test COMPILER_HAS_DEPRECATED - Failed
-- Configuring done (1.3s)
-- Generating done (0.1s)
-- Build files have been written to: /Users/ercan/Applications/ffmpeg_sources/xeve/build

make
[ 0%] Building C object src_main/CMakeFiles/xeve.dir/xevem.c.o
error: unknown warning option '-Wno-stringop-overflow'; did you mean '-Wno-shift-overflow'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Werror,-Wunknown-warning-option]
make[2]: *** [src_main/CMakeFiles/xeve.dir/xevem.c.o] Error 1
make[1]: *** [src_main/CMakeFiles/xeve.dir/all] Error 2
make: *** [all] Error 2

Signed-off-by: Ercan SORMAZ <ercansormaz@gmail.com>
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.

1 participant