[ROOT] different exceptions

From: Colin Bernet (bernet@kph.uni-mainz.de)
Date: Sat May 12 2001 - 09:23:17 MEST


Hi all,

I'm trying to compile a program using threads on a Redhat 7.0 gcc version 
2.96 20000731, with root 3.00/06, and I get this kind of error message
for all mathematical functions: 

In file included from /usr/include/math.h:64,
                 from /usr/local/root/include/G__ci.h:268,
                 from /usr/local/root/include/TSystem.h:31, Colin Bernet
Tel. +49-6131/39-23192 Fax +49-6131/39-22964
                 from /usr/local/root/include/TThread.h:38,
                 from Monitor.h:36,
                 from MainFrame.h:22,
                 from gui.cc:6: /usr/include/bits/mathcalls.h:54:
declaration of `double acos (double) throw ()' throws different exceptions
/usr/local/root/include/TMath.h:306: than previous declaration `double
acos (double)'

Everything works fine on a redhat 6.1, with the same root version, so this
is probably a compiler problem. Would anybody know a trick to get around
that ?

Thanks a lot,
Colin



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:45 MET