RE: [ROOT] Error from Aclic

From: Philippe Canal (pcanal@fnal.gov)
Date: Mon Oct 28 2002 - 15:23:20 MET


Hi,

The message is an indication that the assert will fail.  This indicates that
somehow the class 'temp', as seen by CINT and the as seen by the compiler is
different.  They may happen if you use '#ifndef __CINT__' or similar
construct
in your code.  If this is intentional AND you do not need I/O, you create
in a file named 'temp_linkdef.h':
	#pragma link C++ class temp-;
If this was intentional AND you need I/O, you will need to add a ClassDef
macro to your class definition.

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Boris Tuchming
Sent: Monday, October 28, 2002 6:36 AM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] Error from Aclic


Hello,
I am trying to compile some file (resulting from MakeClass) with Aclic.
And I get the following Error Message
any clue to solve this ?
thanks
Boris
PS : root version is 5.15.56 (Sep 4 2002)

root [0] .L temp.C++
Info in <TUnixSystem::ACLiC>: creating shared library
/tmp_mnt/home/manip/mnt/d0/users/tuchming/single/./temp_C.so
cxx: Warning:
/tmp_mnt/home/manip/mnt/d0/users/tuchming/single/./daaaac41a.C, line 56:
          statement either is unreachable or causes unreachable code
      Assert(sizeof(::temp) == sizeof(ROOT::Shadow::temp));
------^



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