NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: nss compile error



Riccardo Mottola writes:
> Hi,
>

Hello Riccardo!

> I am upgrading packages on my 7.1 x86 machine and nss fails to update with:
>
> [...]
> verified/hacl_curve25519_64.c: In function 'Hacl_Bignum_Fmul_fmul_':
> verified/hacl_curve25519_64.c:241:5: error: 'for' loop initial 
> declarations are only allowed in C99 mode
>       for (uintmax_t _i = 0; _i < (uint32_t)5; ++_i)
>       ^
> verified/hacl_curve25519_64.c:241:5: note: use option -std=c99 or 
> -std=gnu99 to compile your code
>
> anyone else? Just a compiler misdetection/configuration in the makefiles?
> [...]

I haven't seen it but I guess that adding:

 USE_LANGUAGES= c99

...will hopefully help! (you can add in before the `USE_TOOLS+= ...'
line in pkgsrc/devel/nss/Makefile)


Please let us known if that fixes the issue!
Thanks!


Home | Main Index | Thread Index | Old Index