On Wed, Mar 13, 2024 at 12:35:48PM +0100, Lucas Nussbaum wrote:
> > /<<PKGBUILDDIR>>/build/..//CONFIG/src/probe_comp.c:653:13: error: implicit 
> > declaration of function ‘CompIsClang’ 
> > [-Werror=implicit-function-declaration]
> > /<<PKGBUILDDIR>>/build/..//CONFIG/src/probe_comp.c:1140:24: error: implicit 
> > declaration of function ‘CompIsMinGW’ 
> > [-Werror=implicit-function-declaration]
The fix for these is adding

int CompIsClang(char *comp);
int CompIsMinGW(char *comp);

to CONFIG/include/atlconf_misc.h (after CompIsGcc).

I have no idea how to fix the next errors though:

/<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gelqf.c: In function 
‘ATL_df77gelqf’:
/<<PKGBUILDDIR>>/build/..//include/atlas_misc.h:127:16: error: implicit 
declaration of function ‘dgelqf_’ [-Werror=implicit-function-declaration]
  127 |    #define PRE d
      |                ^
/<<PKGBUILDDIR>>/build/..//include/atlas_misc.h:74:27: note: in definition of 
macro ‘my_join’
   74 | #define my_join(pre, nam) pre ## nam
      |                           ^~~
/<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gelqf.c:40:21: note: in expansion 
of macro ‘Mjoin’
   40 |    #define F77GELQF Mjoin(PRE,gelqf_)
      |                     ^~~~~
/<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gelqf.c:40:27: note: in expansion 
of macro ‘PRE’
   40 |    #define F77GELQF Mjoin(PRE,gelqf_)
      |                           ^~~
/<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gelqf.c:58:4: note: in expansion 
of macro ‘F77GELQF’
   58 |    F77GELQF(&F77M, &F77N, A, &F77lda, tau, work, &F77lwork, &F77info);
      |    ^~~~~~~~

In file included from /<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gels.c:30:
/<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gels.c: In function 
‘ATL_df77gels’:
/<<PKGBUILDDIR>>/build/..//include/atlas_misc.h:127:16: error: implicit 
declaration of function ‘dgels_’ [-Werror=implicit-function-declaration]
  127 |    #define PRE d
      |                ^
/<<PKGBUILDDIR>>/build/..//include/atlas_misc.h:74:27: note: in definition of 
macro ‘my_join’
   74 | #define my_join(pre, nam) pre ## nam
      |                           ^~~
/<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gels.c:39:20: note: in expansion 
of macro ‘Mjoin’
   39 |    #define F77GELS Mjoin(PRE,gels_)
      |                    ^~~~~
/<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gels.c:39:26: note: in expansion 
of macro ‘PRE’
   39 |    #define F77GELS Mjoin(PRE,gels_)
      |                          ^~~
/<<PKGBUILDDIR>>/build/..//src/testing/ATL_f77gels.c:99:4: note: in expansion 
of macro ‘F77GELS’
   99 |    F77GELS(args);
      |    ^~~~~~~


This seems like some autogenerated code with heavy C macro usage. 

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature

Reply via email to