Fri, 09/15/2006 - 12:42
Forums:
just a little note:
the class math_Matrix does not have an explicit destructor declared. This causes an annoying compiler warning (C4150) on VC++.NET wherever you try to delete a pointer to math_Matrix.
Declaring a simple explicit destructor in next version could avoid this warning to pervade the warnings output on certain code.
thanks.
Fri, 09/15/2006 - 13:07
Hi Fabio,
The problem is rather not in absense of explicit destructor, but in incomplete declaration of the class.
It can occur if you do not include the header of the class, but use 'class' statement:
class math_Matrix;
void SomeFunc( math_Matrix* pMatrix )
{
delete pMatrix;
}