Dear ROOTERS,
Is the ClassDevNV macro compatible with cling ?
#include <iostream>
#include "TObject.h"
class A : public TObject {
public :
int i ;
A() {i=2 ;}
ClassDef(A,1) ;
};
ClassImp(A)
void test(void) {
A a ;
std::cout << a.i << std::endl ;
}
gives
root [0]
Processing test.C...
2
but the ClassDefNV code gives :
root [0]
Processing test.C...
IncrementalExecutor::executeFunction: symbol '_ZTV1A' unresolved while linking function'_Z15__cling_Un1Qu31Pv'!
bigger codes with ClassDevNV crashes… Is this macro deprecated ?
Cheers,
g++ (Debian 4.9.1-19) 4.9.1
heads/master@v6-00-01-1704-g2244c08
Linux mdlsx18 3.16-3-amd64 #1 SMP Debian 3.16.5-1 (2014-10-10) x86_64 GNU/Linux