Mail Archives: djgpp/1998/10/17/11:13:15
Oliver Richman wrote:
>
> If you know what causes this then you are cool.
>
> "Warning: Class Coord3d only declares
> private destructor and has no friends."
> ^^^^^^^^^^^^^^^^^^^
very simple. all class definitions are 'private' by default, and private
members can only be accessed by other members of the class and friends.
you have declared a dtor, but you didn't use the 'public' label, so it
is inaccessible.
try
class foo {
public:
~foo(void);
};
- Raw text -