Other Parts Discussed in Thread: TMS320F28335
Hello all,
I have a library with templates something like:
template <class T>
class Base
{
public:
Base()
{
}
virtual ~Base()
{
}
};
template <class T>
class Derived: public Base<T>
{
public:
Derived():Base<T>()
{
}
virtual ~Derived()
{
}
};
I think that it is right but when I compile these classes in a generic TMS320F28335 project, the compiler issues the following remark: "Derived.h", line XX: remark: destructor for base class "Base<T>" is not virtual. None of the libs using these templates issue any kind of warning or remark, only the main project issues the remark.
I haven't been able to find any information about this message and I'd like to know how to fix it and how important it is.
Regards,
Andrew