Uploaded image for project: 'Milagro (Retired)'
  1. Milagro (Retired)
  2. MILAGRO-23

FP_ZERO redefintion in amcl.h prevents compiling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • Core Crypto Libraries
    • 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

       

      Attachments

        Activity

          People

            brianspector Brian Spector
            joenx77 Giorgio Zoppi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: