Hi List / James,

In the Ceph master (and also Ceph 14.2.1), file: src/common/options.cc, line # 192:

    Option::size_t sz{strict_iecstrtoll(val.c_str(), error_message)};


On ARM 32-bit, compiling with CLang 7.1.0, compilation fails hard at this line.


The reason is because strict_iecstrtoll() returns an uint64_t value, which has a different size that size_t on this architecture.

I think, since the intention is to convert a value in string format back to it's native type, that the strict_iecstrtoll() should return a size_t type, not an uint64_t type. What does everyone else think?


Thanks!

- Dyweni
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to