On Thu, Jun 20, 2013 at 5:24 PM, Jim Fonseca <[email protected]> wrote:

> Hi,
> I'm trying to build libMesh and am running into this error:
>
>
> /apps/rhel5/petsc-3.4.0/64/mvapich2-1.8_intel-13.0.1.117/include/petscsnes.h(587):
> error: attribute "deprecated" does not take arguments
>   PETSC_DEPRECATED("Use SNESGetLineSearch()") PETSC_STATIC_INLINE
> PetscErrorCode SNESGetSNESLineSearch(SNES snes,SNESLineSearch *ls) {return
> SNESGetLineSearch(snes,ls);}
>   ^
>
>
> /apps/rhel5/petsc-3.4.0/64/mvapich2-1.8_intel-13.0.1.117/include/petscsnes.h(588):
> error: attribute "deprecated" does not take arguments
>   PETSC_DEPRECATED("Use SNESSetLineSearch()") PETSC_STATIC_INLINE
> PetscErrorCode SNESSetSNESLineSearch(SNES snes,SNESLineSearch ls) {return
> SNESSetLineSearch(snes,ls);}

  ^
>

This is complaining about a line in a petsc header file?

Not really sure how we'd trigger this error just by #including a petsc
header.

-- 
John
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to