You are viewing a plain text version of this content. The canonical link for it is here.
Posted to release-mgmt@milagro.apache.org by "John McCane-Whitney (JIRA)" <ji...@apache.org> on 2019/08/13 08:32:00 UTC

[jira] [Closed] (MILAGRO-23) FP_ZERO redefintion in amcl.h prevents compiling

     [ https://issues.apache.org/jira/browse/MILAGRO-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John McCane-Whitney closed MILAGRO-23.
--------------------------------------
    Resolution: Duplicate

Now in GitHub: https://github.com/apache/incubator-milagro-crypto-c/issues/25

> FP_ZERO redefintion in amcl.h prevents compiling
> ------------------------------------------------
>
>                 Key: MILAGRO-23
>                 URL: https://issues.apache.org/jira/browse/MILAGRO-23
>             Project: Milagro
>          Issue Type: Bug
>          Components: Core Crypto Libraries
>            Reporter: Giorgio Zoppi
>            Assignee: Brian Spector
>            Priority: Minor
>         Attachments: Screenshot from 2019-03-31 14-54-11.png
>
>
> Enviroment : gcc-7 7.3.0-27ubuntu1~18.04
> Additional Libraries: Protocol Buffers. !Screenshot from 2019-03-31 14-54-11.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 message was sent by Atlassian JIRA
(v7.6.14#76016)

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