| 6bd8ea90 | 19-Dec-2013 |
Peter Brune <brune@mcs.anl.gov> |
PCGAMG_Classical: Fix for Windows complex build errors
classical.c C:\cygwin\home\sbalay\PETSC~2.CLO\src\ksp\pc\impls\gamg\classical.c(639) : error C2784: '_Ty __cdecl std::abs(const class std::comp
PCGAMG_Classical: Fix for Windows complex build errors
classical.c C:\cygwin\home\sbalay\PETSC~2.CLO\src\ksp\pc\impls\gamg\classical.c(639) : error C2784: '_Ty __cdecl std::abs(const class std::complex<_Ty> &)' : could not deduce template argument for 'const class std::complex<_Ty> &' from 'double' C:\cygwin\home\sbalay\PETSC~2.CLO\src\ksp\pc\impls\gamg\classical.c(640) : error C2784: '_Ty __cdecl std::abs(const class std::complex<_Ty> &)' : could not deduce template argument for 'const class std::complex<_Ty> &' from 'double' C:\cygwin\home\sbalay\PETSC~2.CLO\src\ksp\pc\impls\gamg\classical.c(1127) : error C2440: '=' : cannot convert from 'int (__cdecl *)(struct _p_PC *,struct _p_Mat *,struct _p_Mat ** )' to 'int (__cdecl *)(struct _p_PC *,struct _p_Mat *const ,struct _p_Mat ** )' This conversion requires a reinterpret_cast, a C-style cast or function-style cast gmakefile:135: recipe for target 'arch-mswin-cxx-cmplx/obj/src/ksp/pc/impls/gamg/classical.o' failed
Reported-by: Satish Balay <balay@mcs.anl.gov>
show more ...
|