Open JMLX42 opened 1 year ago
@JMLX42 Thanks for reporting it. Do you mind submitting a fix for it.
FYI it happens with android-21
or later. Not before
The problem is most likely related to the fact that for the armv7 target, st_blksize
and st_blocks
do not have the same type:
unsigned long st_blksize; \
unsigned long long st_blocks; \
IMHO the only solution is to cast st_blksize
to an unsigned long long
when targeting Android. Would that be an acceptable solution @akankshamahajan15 ?
Expected behavior
The build runs without any warning.
Actual behavior
The following warning is shown (and handled as an error by default) :
Steps to reproduce the behavior