Snippets for ctranslate2 4.8.3 from Nix aarch64-linux
Sourced from https://hydra.nixos.org/log/qchg9shmn9030aybm957cbjic2rhh90i-ctranslate2-4.8.3.drv.
-
/build/source/third_party/ruy/third_party/cpuinfo/deps/clog/src/clog.c:112:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 112 | write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/third_party/ruy/third_party/cpuinfo/deps/clog/src/clog.c:188:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 188 | write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/third_party/ruy/third_party/cpuinfo/deps/clog/src/clog.c:264:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 264 | write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/third_party/ruy/third_party/cpuinfo/deps/clog/src/clog.c:340:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 340 | write(STDOUT_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/third_party/ruy/third_party/cpuinfo/deps/clog/src/clog.c:416:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 416 | write(STDOUT_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/third_party/ruy/third_party/cpuinfo/src/arm/linux/chipset.c:3931:25: warning: 'cpuinfo_arm_fixup_raspberry_pi_chipset' reading 64 bytes from a region of size 9 [-Wstringop-overread] 3931 | cpuinfo_arm_fixup_raspberry_pi_chipset(&chipset, revision); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/third_party/ruy/ruy/pack_arm.h:492:9: warning: multi-line comment [-Wcomment] 492 | #endif // (RUY_PLATFORM_NEON_64 || RUY_PLATFORM_NEON_32) && \ | ^ -
/build/source/src/cpu/primitives.cc:911:53: warning: unused parameter 'a_shift_compensation' [-Wunused-parameter] 911 | const int32_t* a_shift_compensation) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
/nix/store/70xc727xbli0162ggrmpsysmdw90qcsa-gcc-16.2.0/include/c++/16.2.0/bits/new_allocator.h:203:11: warning: array subscript -1 is outside array bounds of 'long int [1152921504606846975]' [-Warray-bounds=] 203 | { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/third_party/spdlog/include/spdlog/fmt/bundled/core.h:1706:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1706 | const auto& arg = arg_mapper<Context>().map(std::forward<T>(val)); | ^~~ -
/build/source/src/layers/attention.cc:372:28: warning: unused parameter 'queries' [-Wunused-parameter] 372 | const StorageView& queries, | ~~~~~~~~~~~~~~~~~~~^~~~~~~ -
/build/source/src/layers/transformer.cc:886:24: warning: unused variable 'device' [-Wunused-variable] 886 | const auto device = outputs->device(); | ^~~~~~ -
/build/source/src/models/model.cc:494:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 494 | if (parameterName == "weight") | ^~ -
/build/source/src/models/model.cc:518:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 518 | if (parameterName == "weight") | ^~ -
/build/source/src/models/model.cc:543:13: warning: this statement may fall through [-Wimplicit-fallthrough=] 543 | if (parameterName == "weight") | ^~ -
/build/source/src/models/model.cc:722:58: warning: 'world_size' may be used uninitialized [-Wmaybe-uninitialized] 722 | partitions_size = std::vector<dim_t>(3 * world_size, dim_per_kqv_per_partition); | ~~^~~~~~~~~~~~ -
/build/source/include/ctranslate2/ops/gemm.h:54:12: warning: 'ctranslate2::ops::Gemm::_b_is_packed' will be initialized after [-Wreorder] 54 | bool _b_is_packed; | ^~~~~~~~~~~~ -
/build/source/include/ctranslate2/ops/gemm.h:46:29: warning: 'const ctranslate2::ops::ActivationType* ctranslate2::ops::Gemm::_activation_type' [-Wreorder] 46 | const ActivationType* _activation_type; | ^~~~~~~~~~~~~~~~ -
/build/source/src/ops/gemm.cc:28:5: warning: when initialized here [-Wreorder] 28 | Gemm::Gemm(float alpha, | ^~~~ -
/build/source/src/ops/gumbel_max.cc:26:24: warning: array subscript -1 is outside array bounds of 'long int [1152921504606846975]' [-Warray-bounds=] 26 | output_shape.back() = _num_samples; | ~~~~~~~~~~~~~~~~~^~