Build error using pre-packaged GMP

Philip Höbler philip at hoebler.com
Fri May 28 10:32:41 UTC 2021


That resolved the issue, thank you very much!

I'll stay in contact with the RELIC people to find out whether that's 
something they want to fix. Certainly no problem on the GMP side though :)

Have a great weekend!

Philip

Am 27.05.21 um 11:24 schrieb Marc Glisse:
> On Thu, 27 May 2021, Philip Höbler wrote:
>
>> The gmp.h is indeed indirectly included as extern "C" {[...]} - in 
>> fact, RELIC requires being included that way.
>
> :-(
>
>> Did I understand you correctly, that this would be a problem for GMP?
>
> Yes, that's a problem.
>
> The easiest workaround is to include gmp before.
>
> #include <gmp.h>
> extern "C" {
> #include <relic/...>
> }
>


More information about the gmp-bugs mailing list