[aspect-devel] deprecated-declarations

Mohamed Gouiza M.Gouiza at leeds.ac.uk
Wed Feb 17 03:21:55 PST 2016


Hi,

I get warnings about "deprecated declarations" at the end of ASPECT compilation (the full compilation log is attached).

In file included from /home/ufaserv1_k/earmgo/safe/dealii/include/deal.II/numerics/vector_tools.templates.h:27:0,
                 from /home/ufaserv1_k/earmgo/safe/aspect/source/simulator/freesurface.cc<http://freesurface.cc>:43:
/home/ufaserv1_k/earmgo/safe/dealii/include/deal.II/lac/petsc_vector.h:208:34: warning: ‘Vector’ is deprecated (declared at /home/ufaserv1_k/earmgo/safe/dealii/include/deal.II/lac/petsc_vector.h:53) [-Wdeprecated-declarations]
   void swap (Vector &u, Vector &v)
                                  ^
/home/ufaserv1_k/earmgo/safe/dealii/include/deal.II/lac/petsc_vector.h:208:34: warning: ‘Vector’ is deprecated (declared at /home/ufaserv1_k/earmgo/safe/dealii/include/deal.II/lac/petsc_vector.h:53) [-Wdeprecated-declarations]
/home/ufaserv1_k/earmgo/safe/dealii/include/deal.II/lac/petsc_vector.h:235:42: warning: ‘Vector’ is deprecated (declared at /home/ufaserv1_k/earmgo/safe/dealii/include/deal.II/lac/petsc_vector.h:53) [-Wdeprecated-declarations]
   Vector::operator = (const PetscScalar s)

This doesn’t appear to cause any problem, as the executable is successfully created, and ASPECT seems to run with no apparent bugs, at least on the few examples from the cookbook that I tried so far.

I just want to make sure that this won’t cause any issues later when I try to run more complex simulations.

Thank you for your help.

Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20160217/94e7985a/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Aspect_compilation_warnings.txt
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20160217/94e7985a/attachment-0001.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20160217/94e7985a/attachment-0001.htm>


More information about the Aspect-devel mailing list