Re: [ROOT] gcc 3.x suse 9.0

From: Andreas Zoglauer (zog@mpe.mpg.de)
Date: Thu Apr 01 2004 - 20:01:18 MEST


Hi,

I would also recommend you try to upgrade your code.

But if you want to simply avoid all the warnings coming along with using 
  #include <iostream.h> etc., you should include the following compiler 
flag: -Wno-deprecated

Ciao,
Andreas


siva wrote:
> Just say at the beginning of your code,
> 
> using namespace std;
> everything must work okay, thatz what I did. And as far as I know I faced 
> this problem even when I installed suse 8.1.
> 
> 
> 
> On Thu, 1 Apr 2004, Martin Schulte-Wissermann wrote:
> 
> 
>>hi,
>> i just installed suse 9.0 on a new computer and
>>ROOT compiles well (3.10.01). however, my own programs seem all
>>to have 'bugs'. i know, this is because we now use 'standard c++',
>>and my code stems from  something like 95 to now.
>>is there an easy solution, or do i really have to put
>>std::cout, #include <iostream>, using namespace std, ...
>>everywhere?! and what about the behaviour of my compiled code,
>>is it similar to the past by 100, 99, or 50%.
>>or should i use the old 2.95 compiler (probably i need to compile my own
>>compiler, wright?)?
>>i would expect  something like --Use2.95Behaviour in the makefile
>>to solve the problem.
>>
>>any feedback will help, what about an URL?
>>
>>greetings,
>>  martin
>>
>>
>>
> 
> 
> 
> .
> 


-- 

Andreas Zoglauer

MPI fuer extraterrestrische Physik         Phone:    +49/89-30000-3848
Postfach 1312                              Fax:      +49/89-30000-3569
85741 Garching, Germany                    Email:    zog@mpe.mpg.de



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET