Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build breaks on armv6, armv7 #810

Open
yurivict opened this issue Jul 22, 2022 · 0 comments
Open

Build breaks on armv6, armv7 #810

yurivict opened this issue Jul 22, 2022 · 0 comments

Comments

@yurivict
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant