You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@milagro.apache.org by GitBox <gi...@apache.org> on 2019/07/16 14:33:50 UTC

[GitHub] [incubator-milagro-crypto-c] JohnMcW opened a new issue #25: FP_ZERO redefintion in amcl.h prevents compiling

JohnMcW opened a new issue #25: FP_ZERO redefintion in amcl.h prevents compiling
URL: https://github.com/apache/incubator-milagro-crypto-c/issues/25
 
 
   Enviroment : gcc-7 7.3.0-27ubuntu1~18.04
   Additional Libraries: Protocol Buffers. 
   ![Screenshot%20from%202019-03-31%2014-54-11](https://user-images.githubusercontent.com/95958/61303115-ddf65f00-a7de-11e9-85cd-b40902adeeae.png)
   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

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@milagro.apache.org
For additional commands, e-mail: issues-help@milagro.apache.org