Skip to content

error unknown warning group '-Werror' #145

@Crownss

Description

@Crownss

after build with command from readme

cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_CAMHAL_ADAPTOR=ON \ -DBUILD_CAMHAL_PLUGIN=ON \ -DIPU_VERSIONS="ipu6;ipu6ep;ipu6epmtl" \ -DUSE_PG_LITE_PIPE=ON \ ..

then i try to install and got error

ipu6-camera-hal/src/iutils/ModuleTags.h:24:34: error: unknown warning group '-Werror', ignored [-Werror,-Wunknown-warning-option]
24 | #pragma clang diagnostic ignored "-Werror"
| ^
1 error generated.
make[2]: *** [CMakeFiles/ipu6_static.dir/build.make:79: CMakeFiles/ipu6_static.dir/src/3a/I3AControlFactory.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:484: CMakeFiles/ipu6_static.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

with my version of clang

clang version 19.1.6
Target: x86_64-suse-linux
Thread model: posix
InstalledDir: /usr/bin
System configuration file directory: /etc/clang
User configuration file directory: ~/.config/clang
Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-suse-linux/14
Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-suse-linux/14
Candidate multilib: .;@m64
Selected multilib: .;@m64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions