Skip to content

github: add clazy to linting workflow #13

github: add clazy to linting workflow

github: add clazy to linting workflow #13

Triggered via pull request October 21, 2024 20:26
Status Failure
Total duration 10m 28s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Clazy: gpt4all-backend/deps/llama.cpp-mainline/ggml/src/kompute/src/include/kompute/logger/Logger.hpp#L12
'KOMPUTE_OPT_LOG_LEVEL_DISABLED' is not defined, evaluates to 0 [-Werror,-Wundef]
Clazy: gpt4all-backend/deps/llama.cpp-mainline/ggml/src/kompute/src/include/kompute/logger/Logger.hpp#L20
'KOMPUTE_OPT_USE_SPDLOG' is not defined, evaluates to 0 [-Werror,-Wundef]
Clazy: gpt4all-backend/deps/llama.cpp-mainline/ggml/src/kompute/src/include/kompute/logger/Logger.hpp#L21
'VK_USE_PLATFORM_ANDROID_KHR' is not defined, evaluates to 0 [-Werror,-Wundef]
Clazy: gpt4all-backend/deps/llama.cpp-mainline/ggml/src/kompute/src/include/kompute/logger/Logger.hpp#L26
'KOMPUTE_BUILD_PYTHON' is not defined, evaluates to 0 [-Werror,-Wundef]
Clazy: gpt4all-backend/deps/llama.cpp-mainline/ggml/src/kompute/src/include/kompute/logger/Logger.hpp#L49
'KOMPUTE_OPT_USE_SPDLOG' is not defined, evaluates to 0 [-Werror,-Wundef]
Clazy: gpt4all-backend/deps/llama.cpp-mainline/ggml/src/kompute/src/include/kompute/logger/Logger.hpp#L52
'KOMPUTE_OPT_ACTIVE_LOG_LEVEL' is not defined, evaluates to 0 [-Werror,-Wundef]
Clazy: gpt4all-backend/deps/llama.cpp-mainline/ggml/src/kompute/src/include/kompute/logger/Logger.hpp#L53
'VK_USE_PLATFORM_ANDROID_KHR' is not defined, evaluates to 0 [-Werror,-Wundef]
Clazy: gpt4all-backend/deps/llama.cpp-mainline/ggml/src/kompute/src/include/kompute/logger/Logger.hpp#L58
'KOMPUTE_BUILD_PYTHON' is not defined, evaluates to 0 [-Werror,-Wundef]
Clazy: gpt4all-backend/deps/llama.cpp-mainline/ggml/src/kompute/src/include/kompute/logger/Logger.hpp#L76
'KOMPUTE_OPT_ACTIVE_LOG_LEVEL' is not defined, evaluates to 0 [-Werror,-Wundef]
Clazy: gpt4all-backend/deps/llama.cpp-mainline/ggml/src/kompute/src/include/kompute/logger/Logger.hpp#L77
'VK_USE_PLATFORM_ANDROID_KHR' is not defined, evaluates to 0 [-Werror,-Wundef]
Clazy: gpt4all-chat/deps/QXlsx/TestExcel/calendar.cpp#L55
The QColor ctor taking ints is cheaper than the one taking string literals [-Wclazy-qcolor-from-literal]
Clazy: gpt4all-chat/deps/QXlsx/TestExcel/calendar.cpp#L64
The QColor ctor taking ints is cheaper than the one taking string literals [-Wclazy-qcolor-from-literal]
Clazy: gpt4all-chat/deps/QXlsx/TestExcel/calendar.cpp#L75
The QColor ctor taking ints is cheaper than the one taking string literals [-Wclazy-qcolor-from-literal]
Clazy: gpt4all-chat/deps/QXlsx/TestExcel/calendar.cpp#L84
The QColor ctor taking ints is cheaper than the one taking string literals [-Wclazy-qcolor-from-literal]
Clazy: gpt4all-backend/deps/llama.cpp-mainline/ggml/src/vulkan-shaders/vulkan-shaders-gen.cpp#L60
no previous prototype for function 'execute_command' [-Wmissing-prototypes]
Clazy: gpt4all-backend/deps/llama.cpp-mainline/ggml/src/vulkan-shaders/vulkan-shaders-gen.cpp#L152
no previous prototype for function 'directory_exists' [-Wmissing-prototypes]
Clazy: gpt4all-backend/deps/llama.cpp-mainline/ggml/src/vulkan-shaders/vulkan-shaders-gen.cpp#L160
no previous prototype for function 'create_directory' [-Wmissing-prototypes]
Clazy: gpt4all-backend/deps/llama.cpp-mainline/ggml/src/vulkan-shaders/vulkan-shaders-gen.cpp#L168
no previous prototype for function 'to_uppercase' [-Wmissing-prototypes]
Clazy: gpt4all-backend/deps/llama.cpp-mainline/ggml/src/vulkan-shaders/vulkan-shaders-gen.cpp#L176
no previous prototype for function 'string_ends_with' [-Wmissing-prototypes]
Clazy: gpt4all-backend/deps/llama.cpp-mainline/ggml/src/vulkan-shaders/vulkan-shaders-gen.cpp#L185
no previous prototype for function 'join_paths' [-Wmissing-prototypes]