summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc
diff options
context:
space:
mode:
authormark.yang <mark.yang@lge.com>2025-04-02 01:20:32 +0900
committerKhem Raj <raj.khem@gmail.com>2025-04-01 20:43:27 -0700
commitf3880aa2bb06abb3ec2696ab3c82efccd1e9a274 (patch)
tree037607c5bcddd3dd6571a69e5453af23595ba119 /meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc
parent0d2b2b54fc7dcc25544566d98ad5e421cbd28c61 (diff)
downloadmeta-openembedded-f3880aa2bb06abb3ec2696ab3c82efccd1e9a274.tar.gz
linpack: fix build with gcc-15.0.1
* fix following error: linpacknew.c: In function 'dgefa': linpacknew.c:257:9: error: conflicting types for 'idamax'; have 'int(void)' 257 | int idamax(),j,k,kp1,l,nm1; | ^~~~~~ linpacknew.c:63:13: note: previous declaration of 'idamax' with type 'int(int, REAL *, int)' {aka 'int(int, double *, int)'} 63 | static int idamax (int n,REAL *dx,int incx); | ^~~~~~ linpacknew.c:272:21: error: too many arguments to function 'idamax'; expected 0, have 3 272 | l = idamax(n-k,&a[lda*k+k],1) + k; | ^~~~~~ ~~~ linpacknew.c:257:9: note: declared here 257 | int idamax(),j,k,kp1,l,nm1; | ^~~~~~ linpacknew.c:326:21: error: too many arguments to function 'idamax'; expected 0, have 3 326 | l = idamax(n-k,&a[lda*k+k],1) + k; | ^~~~~~ ~~~ linpacknew.c:257:9: note: declared here 257 | int idamax(),j,k,kp1,l,nm1; | ^~~~~~ The function was already declared as static int idamax(int n, REAL *dx, int incx); on line 63, but it was redeclared as int idamax() inside the dgefa function on line 257, causing a conflict. where functions are redeclared without parameters, causing conflicts with the original function definitions. Signed-off-by: mark.yang <mark.yang@lge.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc')
0 files changed, 0 insertions, 0 deletions