This problem was solved in December. Move to 4.00/02 or CVS. Rene Brun On Fri, 19 Mar 2004, Chih-hsiang Cheng wrote: > Hello, > > Why does cout << endl not work on Sun? It used to work with > root 3.02/07. Is there a fix or workaround? Thanks. > > % uname -a > SunOS tersk03 5.8 Generic_108528-27 sun4u sparc SUNW,Ultra-80 > % root > ******************************************* > * * > * W E L C O M E to R O O T * > * * > * Version 3.10/01 8 October 2003 * > * * > * You are welcome to visit our Web site * > * http://root.cern.ch * > * * > ******************************************* > > FreeType Engine v2.1.3 used to render TrueType fonts. > Compiled for solarisCC5 with thread support. > > CINT/ROOT C/C++ Interpreter version 5.15.105, Sep 28 2003 > Type ? for help. Commands must be C++ statements. > Enclose multiple statements between { }. > root [0] cout << 1 ; > 1root [1] > root [1] cout << 1 << endl; > 1Error: operator<< not defined for basic_ostream<char,char_traits<char> > > FILE:(tmpfile) LINE:1 > *** Interpreter error recovered *** > > > Chih-hsiang Cheng >
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET