RE: [ROOT] operator<< not defined ... on SunOS

From: Philippe Canal (pcanal@fnal.gov)
Date: Fri Mar 19 2004 - 22:42:56 MET


Hi,

This should be fixed in ROOT 4.00/02.

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Chih-hsiang Cheng
Sent: Friday, March 19, 2004 1:38 PM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] operator<< not defined ... on SunOS


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