summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/zchunk/git@git.enea.com:linux
diff options
context:
space:
mode:
authorAlper Ak <alperyasinak1@gmail.com>2025-07-24 11:50:41 +0300
committerKhem Raj <raj.khem@gmail.com>2025-07-24 08:40:45 -0700
commita74ff6dda10d6f68f07cfd342bcd93789b56a5be (patch)
tree3c34f8caf33ca70d7b70f9ca04abba096f2868fc /meta-oe/recipes-support/zchunk/git@git.enea.com:linux
parent7e3b4725c92a1c3cabdc6e2467acbce376d03085 (diff)
downloadmeta-openembedded-a74ff6dda10d6f68f07cfd342bcd93789b56a5be.tar.gz
avro-c++: Fix build for 32-bit targets
Building avro-c++ for 32-bit targets currently fails due to the following warnings being treated as errors: - `useless-cast` in Symbol.cc - `conversion` in FileStream.cc These are promoted to errors because of `-Werror` in the project's build flags. Fix: lib32-avro-c++/1.12/sources/avro-c++-1.12/lang/c++/impl/parsing/Symbol.cc:91:27: error: useless cast to type 'int' [-Werror=useless-cast] 91 | adj.push_back(static_cast(it - rs.begin())); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors lib32-avro-c++/1.12/sources/avro-c++-1.12/lang/c++/impl/FileStream.cc:208:41: error: conversion from 'int64_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Werror=conversion] 208 | in_->seek(position - byteCount_ - available_); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ lib32-avro-c++/1.12/sources/avro-c++-1.12/lang/c++/impl/FileStream.cc:209:22: error: conversion from 'int64_t' {aka 'long long int'} to 'size_t' {aka 'unsigned int'} may change value [-Werror=conversion] 209 | byteCount_ = position; | ^~~~~~~~ cc1plus: all warnings being treated as errors Signed-off-by: Alper Ak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/zchunk/git@git.enea.com:linux')
0 files changed, 0 insertions, 0 deletions