RE:Fwd: [ROOT] algo.h gives precompile erro

From: Masaharu Goto (MXJ02154@nifty.ne.jp)
Date: Tue Oct 02 2001 - 00:33:23 MEST


Hello Tong-uk

Concerned about algo.h, 

<algorithm> is the name for STL algorithm header file. <algo.h> is
a very old name from STL HP implementation. Many C++ processors
still keeps this name for backward compatibility. 

But, I still want to know the detail of this error. Line number
18155 loos quite peculiar.  In order to understand what is happening
will you teach me how you use STL. If mydict.C is not big, please send
it to me. If it was a big file(>200kbyte), could you strip down to the
essential part?

Thank you
Masaharu Goto


>Hi,
>       I have a computer that is running Redhat 7.1 and
>root version 3.0.2.  I have found that the line, #include <algo.h>
>gives error message,
>
>Error: Unexpected EOF G__fignorestream():3
> FILE:/home/blast/tong/newroot/share/ root/cint/stl/tempbuf.h LINE:18155
>
>when I try to rootcint -f mydict.C -c -p TBLHit.h.
>
>       On other machines in our lab, which are running Redhat 6.x
>and root version 3.x.x and 2.x.x, I do not get any error messages.
>I believe the error message is related to mismatch in
>gcc compiler version 2.96 20000731 and root.
>
>       Could I use some other header file instead of algo.h?
>If there is anyone else had this problem, I like to know how you
>get around this problem.
>
>       -T
>
>-------------------------------------------------------
>
>-- 
>Org:    CERN, European Laboratory for Particle Physics.
>Mail:   1211 Geneve 23, Switzerland
>E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
>WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:01 MET