Netflix / dynomite

A generic dynamo implementation for different k-v storage engines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build breaks on armv6, armv7

yurivict opened this issue · 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