I have Getfem 4.3 and Xcode 6.1.I just downloaded I get a set of warnings and a 
set of error messages when attempting to compile getfem_superlu.cc

--begin compiler output'

In file included from getfem_superlu.cc:22:
In file included from ./getfem/getfem_superlu.h:47:
In file included from ./getfem/getfem_config.h:155:
In file included from ./getfem/bgeot_config.h:50:
In file included from ./gmm/gmm_kernel.h:51:
./gmm/gmm_blas_interface.h:164:12: warning: 'cdotu_' has C-linkage specified,
      but returns user-defined type 'std::complex<float>' which is incompatible
      with C [-Wreturn-type-c-linkage]
    BLAS_C cdotu_(...); BLAS_Z zdotu_(...);

--end compiler output

There last 4 lines are repeated for 3 other almost identical warnings, with 
cdotu_ replaced with zdotu_, cdotc_ and zdotc_

Also I get several sets of the errors patterned on the following

--begin compiler output

In file included from getfem_superlu.cc:42:
../superlu/slu_ddefs.h:140:16: error: conflicting types for 'countnz'
extern void    countnz (const int, int *, int *, int *, GlobalLU_t *);
               ^
../superlu/slu_sdefs.h:140:16: note: previous declaration is here
extern void    countnz (const int, int *, int *, int *, GlobalLU_t *);

--end compiler output

Any suggestions?
               ^
_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to