Skip to content

ARM32 compile problem.. #8536

@ahnjs1987

Description

@ahnjs1987

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);
| ^~~~~~~

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions