-
Notifications
You must be signed in to change notification settings - Fork 432
Description
I want to use google-cloud-cpp library on ARM32.
So, I try to compile source on ARM32(ubuntu 20.04).
(And When I try it on ARM64(ubuntu20.04), it compiles successfully. But some library which I used doesn't support ARM64, so I have to use ARM32)
It returns 2 errors. But I don't know how to fix it.
Please give me information to resolve it.
Here are the error log.
/root/google-cloud-cpp/google/cloud/storage/parallel_upload.cc:409:30: error: conversion from 'long long int' to 'std::streamsize' {aka 'int'} may change value [-Werror=conversion]
409 | istream.read(buf.data(), to_copy);
| ^~~~~~~
/root/google-cloud-cpp/google/cloud/storage/parallel_upload.cc:413:32: error: conversion from 'long long int' to 'std::streamsize' {aka 'int'} may change value [-Werror=conversion]
413 | ostream_.write(buf.data(), to_copy);
| ^~~~~~~