Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Enviroment : gcc-7 7.3.0-27ubuntu1~18.04
Additional Libraries: Protocol Buffers.
The current amcl crypto that i am using as backend, redefine FP_ZERO, that it is by default defined in math.h in libgcc that it is included in protocol buffers, since i am rewriting dta and rps with protobuf3 using amcl.
This leads to users to be not able to compile. The solution is quite trivial, just put
#ifndef FP_ZERO
#define FP_ZERO 0
#endif
This will solve the issue.
Best Regards,
Giorgio