dynomite icon indicating copy to clipboard operation
dynomite copied to clipboard

Build breaks on armv6, armv7

Open yurivict opened this issue 3 years ago • 0 comments

dyn_entropy_rcv.c:103:20: error: invalid operands to binary expression ('char [buffer_size]' and 'unsigned int')
    numberOfKeys = ntohl(buff);
                   ^~~~~~~~~~~
/usr/include/netinet/in.h:121:18: note: expanded from macro 'ntohl'
#define ntohl(x)        __ntohl(x)
                        ^~~~~~~~~~
/usr/include/machine/endian.h:71:28: note: expanded from macro '__ntohl'
#define __ntohl(x)        (__bswap32(x))
                           ^~~~~~~~~~~~
/usr/include/machine/endian.h:134:6: note: expanded from macro '__bswap32'
     __bswap32_constant(x) :                    \
     ^~~~~~~~~~~~~~~~~~~~~
/usr/include/machine/endian.h:118:12: note: expanded from macro '__bswap32_constant'
    ((((x) & 0xff000000U) >> 24) |      \
       ~~~ ^ ~~~~~~~~~~~
dyn_entropy_rcv.c:103:20: error: invalid operands to binary expression ('char [buffer_size]' and 'unsigned int')
    numberOfKeys = ntohl(buff);
                   ^~~~~~~~~~~

clang-11 FreeBSD 13.1

yurivict avatar Jul 22 '22 17:07 yurivict