I am using ROOT (root_v3.10.01.win32gdk.tar.gz version) under
Windows 2000 and XP and use MS Visual C++ 6.0 to create
stand-alone applications. When I try to include TTable.h into my
application, my compiler reports errors:
c:\root\include\tdatime.h(85) : error C2248: ‘fDatime’ : cannot access
protected member declared in class 'TDatime’
c:\root\include\tdatime.h(32) : see declaration of 'fDatime’
c:\root\include\tdatime.h(85) : error C2248: ‘fDatime’ : cannot access
protected member declared in class 'TDatime’
c:\root\include\tdatime.h(32) : see declaration of ‘fDatime’
…
Hi Elena,
strange, these operators declared as “friend” (in TDatime.h)
I can not reproduce it. Might be compiler option problem.
Are you using makefile (like in $ROOTSYS/test) or VC project?
What is your compiler flags?
Try to set them as
Hi,
if I remember correctly this was an issue with VC6 which was fixed in a service pack. Elena, do you have the latest VC6 service pack installed?
Axel.