(no subject)

From: Timur Pocheptsoff (tpochep@mail.ru)
Date: Tue Sep 17 2002 - 07:56:13 MEST


Just a foolish primitive programm:
#include <TObject.h>

class Test:public TObject{
public:
	ClassDef(Test,1)
}

//ClassImp(Test)

int main(){
	FirstTest a;

	return 0;
}

Why i have messages:

undefined reference ~Test(void)
undefined reference ~Test(void) ???????
and really terrifying message:

UNDEFINED REFERENCE 'TEST VIRTUAL TABLE'? 

Why adding ClassImp produces new mistakes like:
undefined reference 
	Test::Class_Version
	Test::DeclFileName
	Test::DeclFileLine ???
class_version is inline function added by classdef macro, but why undefined
reference?



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:10 MET