From: Flemming Videbaek (videbaek@rcf.rhic.bnl.gov)
Date: Sun Sep 14 2003 - 16:36:12 EDT
Due to the imminent switchover to RH8 and gcc 3.2 as default compileer Brat was revisited, many changes were committe mainly due to two effects a) Removing BrIostream.h from util b) Starting replaing the many places with #ifdef WIN32 .. #else # include<iostream.h> The proper was of dealing with system includes is as Christian has told us many times. NEVER NEVER have include <iostream> in any .h file; To keep the namespaces clean use construct like the following as the Last item in the include list #ifndef __IOSTREAM__ #include <iostream> #endif #ifndef __IOMANIP__ #include <iomanip> #endif using std::cout; using std::endl; using std::setw; using std::ios; Other common systm files to include are #ifndef __FSTREAM__ #include <fstream> #endif Recall these can easily be included by the <ESC>X -sys-include-header emacs utility. It woul be helpful as moules are editted to replace the remanining <iostream.h> with the above mentioned conbstruct. Note the gcc gives a warning telling you to think about getting rid of the depreciate <iostream.h> files and so on. Brat was tagged and update to 2.11.1 -- Flemming Videbaek Brookhaven National Laboratory Physics Department tlf 631-344-4106 fax 631-344-1334 e-mail: videbaek@bnl.gov
This archive was generated by hypermail 2.1.5 : Sun Sep 14 2003 - 16:37:17 EDT