next

=========================================
*******************Error detected during compile or 
link!*******************
See http://www.mcs.anl.gov/petsc/documentation/faq.html
/home/balay/petsc.clone-3/src/snes/examples/tutorials ex70
*********************************************************************************
/usr/home/balay/petsc.clone-3/arch-freebsd-cxx-cmplx-pkgs-dbg/bin/mpicxx -o 
ex70.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g 
-O0  -fPIC  -I/usr/home/balay/petsc.clone-3/include 
-I/usr/home/balay/petsc.clone-3/arch-freebsd-cxx-cmplx-pkgs-dbg/include    
`pwd`/ex70.c
/home/balay/petsc.clone-3/src/snes/examples/tutorials/ex70.c: In function 
'PetscErrorCode StokesCalcError(Stokes*)':
/home/balay/petsc.clone-3/src/snes/examples/tutorials/ex70.c:647:90: error: 
invalid cast from type 'std::complex<double>' to type 'double'
/home/balay/petsc.clone-3/src/snes/examples/tutorials/ex70.c:653:90: error: 
invalid cast from type 'std::complex<double>' to type 'double'
/home/balay/petsc.clone-3/src/snes/examples/tutorials/ex70.c:658:95: error: 
invalid cast from type 'std::complex<double>' to type 'double'
*** [ex70.o] Error code 1


Reply via email to