Looks like John was a bit overzealous when trying to factor out header
dependencies a couple weeks ago - when only referring to (and not
calling anything from) a pointer you can get away with just a forward
declaration, but a smart pointer needs a real declaration for its
destructor to be correct.  I'll fix it.

Thanks!
---
Roy

On Wed, 23 Mar 2011, Sebastian Steiger wrote:

Hi libmesh developers

I'm compiling the current SVN version of libmesh (with Jed's patches
s.th. I can use petsc-dev) and I'm getting the following warning message:

libmesh/include/base/auto_ptr.h:197: warning: possible problem detected
in invocation of delete operator:
libmesh/include/base/auto_ptr.h:197: warning: invalid use of incomplete
type ‘struct libMesh::Partitioner’
libmesh/include/mesh/mesh_base.h:48: warning: forward declaration of
‘struct libMesh::Partitioner’
libmesh/include/base/auto_ptr.h:197: note: neither the destructor nor
the class-specific operator delete will be called, even if they are
declared when the class is defined.
libmesh/include/base/auto_ptr.h: In member function
‘libMesh::AutoPtr<Tp>&
libMesh::AutoPtr<Tp>::operator=(libMesh::AutoPtrRef<Tp>) [with Tp =
libMesh::Partitioner]’:

I don't know whether it's relevant or not, but you might want to look
into it as I didn't get it with the 0.6.5 release.

Best
Sebastian

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Libmesh-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to