Burlen Loring
2015-11-27 19:01:14 UTC
Hi, I am trying to wrap some c++ code into python. The warning message
is in the subject and full output below.
How do I wrap a class derived from std::enable_shared_from_this??
trying to tell swig about enable_shared_from_this results in parsing and
compilation errors, it can't seem to find <memory> header from the stl.
Do I have to tell swig about the path to system headers??
one of my class hierarchy looks like
class teca_variant_array : public
std::enable_shared_from_this<teca_variant_array>
{
....
};
template <typename T>
class teca_variant_array_impl : public
std::enable_shared_from_this<teca_variant_array>
{
...
};
my swig file looks like this:
%include <std_shared_ptr.i>
%shared_ptr(teca_variant_array)
%shared_ptr(teca_variant_array_impl<char>)
%shared_ptr(teca_variant_array_impl<int>)
%shared_ptr(teca_variant_array_impl<long long>)
%shared_ptr(teca_variant_array_impl<float>)
%shared_ptr(teca_variant_array_impl<double>)
%include "teca_common.h"
%include "teca_shared_object.h"
%include "teca_variant_array_fwd.h"
%ignore teca_variant_array::operator=;
%include "teca_variant_array.h"
%template(teca_variant_array_char) teca_variant_array_impl<char>;
%template(teca_variant_array_int) teca_variant_array_impl<int>;
%template(teca_variant_array_int64) teca_variant_array_impl<long long>;
%template(teca_variant_array_float) teca_variant_array_impl<float>;
%template(teca_variant_array_double) teca_variant_array_impl<double>;
The output from swig is:
/home/bloring/work/teca/teca_arch/core/teca_variant_array.h:35:
Warning 401: Nothing known about base class
'std::enable_shared_from_this< teca_variant_array >'. Ignored.
/home/bloring/work/teca/teca_arch/core/teca_variant_array.h:35:
Warning 401: Maybe you forgot to instantiate
'std::enable_shared_from_this< teca_variant_array >' using %template.
/home/bloring/work/teca/teca_arch/core/teca_variant_array.h:262:
Warning 315: Nothing known about 'enable_shared_from_this<
teca_variant_array >::shared_from_this'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array.h:262:
Warning 315: Nothing known about 'enable_shared_from_this<
teca_variant_array >::shared_from_this'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array.h:262:
Warning 315: Nothing known about 'enable_shared_from_this<
teca_variant_array >::shared_from_this'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array.h:262:
Warning 315: Nothing known about 'enable_shared_from_this<
teca_variant_array >::shared_from_this'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array.h:262:
Warning 315: Nothing known about 'enable_shared_from_this<
teca_variant_array >::shared_from_this'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
I tried to tell it about std::enable_shared_from_this in a template
statement as the warning indicates, but this doesn't help, swig then
complains that it doesn't know what enable_shared_from_this is, and I
tried adding and include <memory> but it can't find the header....
Burlen
is in the subject and full output below.
How do I wrap a class derived from std::enable_shared_from_this??
trying to tell swig about enable_shared_from_this results in parsing and
compilation errors, it can't seem to find <memory> header from the stl.
Do I have to tell swig about the path to system headers??
one of my class hierarchy looks like
class teca_variant_array : public
std::enable_shared_from_this<teca_variant_array>
{
....
};
template <typename T>
class teca_variant_array_impl : public
std::enable_shared_from_this<teca_variant_array>
{
...
};
my swig file looks like this:
%include <std_shared_ptr.i>
%shared_ptr(teca_variant_array)
%shared_ptr(teca_variant_array_impl<char>)
%shared_ptr(teca_variant_array_impl<int>)
%shared_ptr(teca_variant_array_impl<long long>)
%shared_ptr(teca_variant_array_impl<float>)
%shared_ptr(teca_variant_array_impl<double>)
%include "teca_common.h"
%include "teca_shared_object.h"
%include "teca_variant_array_fwd.h"
%ignore teca_variant_array::operator=;
%include "teca_variant_array.h"
%template(teca_variant_array_char) teca_variant_array_impl<char>;
%template(teca_variant_array_int) teca_variant_array_impl<int>;
%template(teca_variant_array_int64) teca_variant_array_impl<long long>;
%template(teca_variant_array_float) teca_variant_array_impl<float>;
%template(teca_variant_array_double) teca_variant_array_impl<double>;
The output from swig is:
/home/bloring/work/teca/teca_arch/core/teca_variant_array.h:35:
Warning 401: Nothing known about base class
'std::enable_shared_from_this< teca_variant_array >'. Ignored.
/home/bloring/work/teca/teca_arch/core/teca_variant_array.h:35:
Warning 401: Maybe you forgot to instantiate
'std::enable_shared_from_this< teca_variant_array >' using %template.
/home/bloring/work/teca/teca_arch/core/teca_variant_array.h:262:
Warning 315: Nothing known about 'enable_shared_from_this<
teca_variant_array >::shared_from_this'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array.h:262:
Warning 315: Nothing known about 'enable_shared_from_this<
teca_variant_array >::shared_from_this'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array.h:262:
Warning 315: Nothing known about 'enable_shared_from_this<
teca_variant_array >::shared_from_this'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array.h:262:
Warning 315: Nothing known about 'enable_shared_from_this<
teca_variant_array >::shared_from_this'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array.h:262:
Warning 315: Nothing known about 'enable_shared_from_this<
teca_variant_array >::shared_from_this'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
/home/bloring/work/teca/teca_arch/core/teca_variant_array_fwd.h:9:
Warning 315: Nothing known about 'std::shared_ptr<
teca_variant_array_impl< T > >'.
I tried to tell it about std::enable_shared_from_this in a template
statement as the warning indicates, but this doesn't help, swig then
complains that it doesn't know what enable_shared_from_this is, and I
tried adding and include <memory> but it can't find the header....
Burlen