Hi Rene, Jiri, Great !!! Thank you very much. It is compiling, now !!! Cheers, Kilian ----------------------------------------- Dr. Kilian Schwarz Gesellschaft für Schwerionenforschung mbH Datenverarbeitung und Experimentelektronik Planckstr. 1, D-64291 Darmstadt, Germany phone: +49-6159-71-2076 fax : +49-6159-71-2986 ----------------------------------------- On Thu, 5 Feb 2004, Rene Brun wrote: >Hi Jiri, Kilian, > >It is surpsing to see that you had a problem with gcc2.95.4. >We tested it with gcc2.95.2 and gcc2.95.3 ! > >I took the proposed change from Jiri except that I activate >the option for GNUMINOR >= 95 > >Now in CVS. > >Rene Brun > >On Thu, 5 Feb >2004, Jiri Masik wrote: > >> Kilian Schwarz <kschwarz@gsi.de> writes: >> >> > Dear Colleages, >> > >> > I try to compile root v4-00-01 by using >> > gcc version 2.95.4 20011002 (Debian prerelease) >> > and I get the following errors: >> > Can somebody help ? >> > >> > =========================================== >> > g++ -O -pipe -Wall -W -Woverloaded-virtual -fPIC -Iinclude -o >> > newdelete/src/NewDelete.o -c newdelete/src/NewDelete.cxx >> > newdelete/src/NewDelete.cxx: In function `void * operator new(unsigned >> > int, void *)': >> > newdelete/src/NewDelete.cxx:242: redefinition of `void * operator >> > new(unsigned int, void *)' >> > /usr/lib/gcc-lib/i386-linux/2.95.4/include/new:38: `void * operator >> > new(unsigned int, void *)' previously defined here >> > newdelete/src/NewDelete.cxx: In function `void * operator new [](unsigned >> > int, void *)': >> > newdelete/src/NewDelete.cxx:339: redefinition of `void * operator new >> > [](unsigned int, void *)' >> > /usr/lib/gcc-lib/i386-linux/2.95.4/include/new:39: `void * operator new >> > [](unsigned int, void *)' previously defined here >> > gmake: *** [newdelete/src/NewDelete.o] Error 1 >> > ============================================ >> >> Hi Kilian, >> >> I can't trace what has changed and since what version gcc has the >> operator included. This should help and hopefully it will not >> cause problem to others >> >> >
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET