Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Mismatched bounds #96

Open
matthiasgoergens opened this issue Dec 20, 2022 · 1 comment
Open

Mismatched bounds #96

matthiasgoergens opened this issue Dec 20, 2022 · 1 comment

Comments

@matthiasgoergens
Copy link

When I am building, I am getting warnings like the following:

/home/matthias/incubator-milagro-crypto-c/target/default/src/big_256_56.c:151:36: warning: argument 'f' of type 'DBIG_256_56' (aka 'long[10]') with mismatched bound [-Warray-parameter]
void BIG_256_56_dcmove(DBIG_256_56 f,DBIG_256_56 g,int d)
                                   ^
/home/matthias/incubator-milagro-crypto-c/target/default/include/big_256_56.h:115:42: note: previously declared as 'BIG_256_56' (aka 'long[5]') here
extern void BIG_256_56_dcmove(BIG_256_56 x,BIG_256_56 y,int s);

When checking the sources, I see BIG_XXX vs DBIG_XXX:

include/big.h.in:extern void BIG_XXX_dcmove(BIG_XXX x,BIG_XXX y,int s);
src/big.c.in:void BIG_XXX_dcmove(DBIG_XXX f,DBIG_XXX g,int d)

Is this intentional?

@giorgiozoppi
Copy link
Contributor

@kealan please provide support to this. The warning has to be removed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants