Skip to content

yosys_common: fix gcc warning in #error directive #1518

yosys_common: fix gcc warning in #error directive

yosys_common: fix gcc warning in #error directive #1518

Triggered via push December 19, 2024 14:55
Status Success
Total duration 24m 59s
Artifacts

test-compile.yml

on: push
pre_job
5s
pre_job
Matrix: test-compile
Fit to window
Zoom out
Zoom in

Annotations

43 warnings
pre_job
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-compile (ubuntu-latest, clang-14)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-compile (ubuntu-latest, clang-14): passes/hierarchy/keep_hierarchy.cc#L69
format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
test-compile (ubuntu-latest, clang-14): passes/hierarchy/keep_hierarchy.cc#L69
format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
test-compile (ubuntu-latest, clang-14): passes/opt/wreduce.cc#L270
'in' is deprecated [-Wdeprecated-declarations]
test-compile (ubuntu-latest, gcc-10)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-compile (ubuntu-latest, gcc-10): passes/hierarchy/keep_hierarchy.cc#L69
format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
test-compile (ubuntu-latest, gcc-10): passes/hierarchy/keep_hierarchy.cc#L69
format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
test-compile (ubuntu-latest, gcc-10): passes/opt/wreduce.cc#L270
‘bool Yosys::RTLIL::IdString::in(const Yosys::hashlib::pool<Yosys::RTLIL::IdString>&) const’ is deprecated [-Wdeprecated-declarations]
test-compile (ubuntu-20.04, clang-10): passes/opt/wreduce.cc#L270
'in' is deprecated [-Wdeprecated-declarations]
test-compile (ubuntu-20.04, clang-10): passes/hierarchy/keep_hierarchy.cc#L69
format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
test-compile (ubuntu-20.04, clang-10): passes/hierarchy/keep_hierarchy.cc#L69
format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
test-compile (macos-13, clang)
pkgconf 2.3.0_1 is already installed and up-to-date. To reinstall 2.3.0_1, run: brew reinstall pkgconf
test-compile (macos-13, clang)
autoconf 2.72 is already installed and up-to-date. To reinstall 2.72, run: brew reinstall autoconf
test-compile (macos-13, clang)
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK is set: not checking for outdated dependents or dependents with broken linkage!
test-compile (macos-13, clang): passes/opt/wreduce.cc#L270
'in' is deprecated [-Wdeprecated-declarations]
test-compile (ubuntu-latest, clang-18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-compile (ubuntu-latest, clang-18): frontends/ast/dpicall.cc#L70
variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
test-compile (ubuntu-latest, clang-18): frontends/ast/dpicall.cc#L71
variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
test-compile (ubuntu-latest, clang-18): frontends/ast/dpicall.cc#L72
variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
test-compile (ubuntu-latest, clang-18): passes/hierarchy/keep_hierarchy.cc#L69
format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
test-compile (ubuntu-latest, clang-18): passes/hierarchy/keep_hierarchy.cc#L69
format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
test-compile (ubuntu-latest, clang-18): passes/opt/wreduce.cc#L270
'in' is deprecated [-Wdeprecated-declarations]
test-compile (ubuntu-latest, clang-18)
'get_temporary_buffer<std::pair<unsigned long, int>>' is deprecated [-Wdeprecated-declarations]
test-compile (ubuntu-latest, clang-18): frontends/ast/dpicall.cc#L70
variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
test-compile (ubuntu-latest, clang-18): frontends/ast/dpicall.cc#L71
variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
test-compile (ubuntu-latest, clang-18): frontends/ast/dpicall.cc#L72
variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
test-compile (ubuntu-latest, clang-18): passes/hierarchy/keep_hierarchy.cc#L69
format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
test-compile (ubuntu-latest, clang-18): passes/hierarchy/keep_hierarchy.cc#L69
format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat]
test-compile (ubuntu-latest, clang-18): passes/opt/wreduce.cc#L270
'in' is deprecated [-Wdeprecated-declarations]
test-compile (ubuntu-latest, clang-18)
'get_temporary_buffer<std::pair<unsigned long, int>>' is deprecated [-Wdeprecated-declarations]
test-compile (ubuntu-latest, gcc-13)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-compile (ubuntu-latest, gcc-13): passes/hierarchy/keep_hierarchy.cc#L69
format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
test-compile (ubuntu-latest, gcc-13): passes/hierarchy/keep_hierarchy.cc#L69
format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
test-compile (ubuntu-latest, gcc-13): passes/opt/wreduce.cc#L270
‘bool Yosys::RTLIL::IdString::in(const Yosys::hashlib::pool<Yosys::RTLIL::IdString>&) const’ is deprecated [-Wdeprecated-declarations]
test-compile (ubuntu-latest, gcc-13): kernel/yw.h#L38
infinite recursion detected [-Winfinite-recursion]
test-compile (ubuntu-latest, gcc-13)
Failed to add apt key via server keyserver.ubuntu.com: Error: Command failed with exit code 2: sudo 'gpg' '--no-default-keyring' '--keyring' 'gnupg-ring:keyserver.ubuntu.com/ubuntu-toolchain-r-test.gpg' '--keyserver' 'keyserver.ubuntu.com' '--recv-keys' '1E9377A2BA9EF27F'
test-compile (ubuntu-latest, gcc-13)
Failed to add apt key via server keyserver.ubuntu.com: Error: Command failed with exit code 2: sudo 'gpg' '--no-default-keyring' '--keyring' 'gnupg-ring:keyserver.ubuntu.com/ubuntu-toolchain-r-test.gpg' '--keyserver' 'keyserver.ubuntu.com' '--recv-keys' '1E9377A2BA9EF27F'
test-compile (ubuntu-latest, gcc-13)
‘constant’ may be used uninitialized [-Wmaybe-uninitialized]
test-compile (ubuntu-latest, gcc-13): passes/hierarchy/keep_hierarchy.cc#L69
format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
test-compile (ubuntu-latest, gcc-13): passes/hierarchy/keep_hierarchy.cc#L69
format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
test-compile (ubuntu-latest, gcc-13): passes/opt/wreduce.cc#L270
‘bool Yosys::RTLIL::IdString::in(const Yosys::hashlib::pool<Yosys::RTLIL::IdString>&) const’ is deprecated [-Wdeprecated-declarations]
test-compile (ubuntu-latest, gcc-13): kernel/yw.h#L38
infinite recursion detected [-Winfinite-recursion]