[ROOT] rootcint: bug with // comments ?

From: Mykulyak Andriy (A.Mykulyak@gsi.de)
Date: Sat Aug 31 2002 - 00:41:06 MEST


Hello,

When using // comments in the last line of a file (like in the example
below)

#ifndef TTestObj_h
#define TTestObj_h

class TTestObj {
   ...
};

...

#endif // ~TTestObj_h (no CR + LF here !)

the rootcint generates error message "Error: unexpected EOF G__fgetc() FILE:
TestObj.h LINE: xxx", although the source is valid from the point of view of
C++. 

Best regards,
Andriy.

------
Andriy Mykulyak
GSI, Planckstrasse 1, D-64291 Darmstadt
A.Mykulyak@gsi.de
Tel: +49-6159-71 2772



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