zeux/pugixml

Warning when building 1.14 in x86 on Clang

remyjette opened this issue · 3 comments

Clang 14.0.6

pugixml/src/pugixml.cpp:4800:27: fatal error: implicit conversion loses integer precision: 'long long' to 'length_type' (aka 'long') [-Wshorten-64-to-32]
                  length_type length = st.st_size;
zeux commented

What OS are you compiling for?

Compiling for Android

zeux commented

Thanks - can reproduce with latest Android NDK, I'll take a look.