emp-toolkit / emp-ag2pc

Authenticated Garbling and Efficient Maliciously Secure Two-Party Computation
Other
23 stars 19 forks source link

change the uint64_t to unsigned long long to avoid conflict in gcc #1

Closed weikengchen closed 6 years ago

weikengchen commented 6 years ago

GCC resolves uint64_t to unsigned long when the word size is 64 bits. https://stackoverflow.com/questions/32198368/unsigned-long-long-conflict-with-uint64-t

to resolve this problem, uint64_t is avoided in helper.h

Now Travis is happy again https://travis-ci.org/weikengchen/emp-ag2pc

weikengchen commented 6 years ago

it is funny that Debug fails but Release succeeds this time. Will double check why

weikengchen commented 6 years ago

https://github.com/emp-toolkit/emp-ag2pc/issues/2

it is random for the Travis vm that is tested on.