[ROOT] [Fwd: break problems in cint]

From: Timothy E. Miller (tim@bnl.gov)
Date: Thu May 23 2002 - 14:25:00 MEST


Hi ROOT-er's,

Here is a very strange problem that someone in our
collaboration has seen.  The collaboration default
version is 3.01.05 and I've verified the problem
exists in version 3.02.07 as well.  

Any ideas?
-Tim

P.S.  I'm sure the example they provide is the simplest
version that produces an error message but don't actually
know what they are really trying to do.

-----Forwarded Message-----


Dear all,
Does anybody know why this simple macro gets an error from cint ?


{
  
  do{
    break; 
  }while(1);
  
}

while the following macro runs fine :

{
  
  while(1){
    break; 
  }
  
}


P.S. Error message that we get:

Error: Unexpected EOF G__fgetstream():2 FILE:/tmp/fileN8U5GU_cint LINE:7
Advice: You may need to use +P or -p option
Syntax error: do{}(); Should be do{}while(); FILE:/tmp/fileN8U5GU_cint 
LINE:7
Error: Unexpected EOF G__fgetstream():2 FILE:/tmp/fileN8U5GU_cint LINE:7
Advice: You may need to use +P or -p option
Error: Unexpected EOF G__fignorestream():3 FILE:/tmp/fileN8U5GU_cint 
LINE:7
Advice: You may need to use +P or -p option
(const unknown)(-1001)
*** Interpreter error recovered ***

-- 
  PHB:  I wonder what they know that I don't?
Wally:  Now there's a hole with no bottom in it...

pub  1024D/35B93695 2001-10-11 Tim Miller <tim.miller@vanderbilt.edu>
Key fingerprint = 041D E801 6EC8 F0A4 10C3  3E74 295F 004F 35B9 3695
pub  1024R/B54CD57F 2001-12-21 Timothy E. Miller <tim@bnl.gov>
Key fingerprint = 61 D6 4C 6B 86 BD 34 72  00 17 EE 46 1F B0 A2 0B



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