Problem running rootcint and compiling

From: <Bruce.Oneel_at_obs.unige.ch>
Date: Mon, 05 Mar 2007 15:57:26 +0100 (MET)


Hi,

We have some code which worked with 4.08.00 and 5.08.00, but, with 5.15/02, 5.14/00, and today's CVS head I get a compile error when compiling the output of rootcint. This is on MacOS/X 10.4 something.

Any ideas?

Thanks

cheers

bruce

rootcint -f ISDCParsCint.cxx -c
-I. -I/Users/oneel/osa/osa_install/Darwin-20070228/root/include
-I/Users/oneel/osa/osa_install/Darwin-20070228/include \
  ISDCPars.h ISDCParsLinkDef.h
/bin/rm -f ISDCParsCint.o
make ISDCParsCint.o
g++ -Df2cFortran -c -DROOTCINT_STD_EXCEPTION_BUG -g
-I/Users/oneel/osa/osa_install/Darwin-2

0070228/root/include -DHAVE_CERN_ROOT -DCOMPILING_CINT_FILES
-I/Users/oneel/osa/osa_install/Darwin-20070228/root/cint
-I. -I.. -I../include -I./installed_locally/include
-I/Users/oneel/osa/osa_install/Darwin-20070228/include
-I/Users/oneel/osa/osa_install/Darwin-20070228/root/include/root
-I/Users/oneel/osa/osa_install/Darwin-20070228/include/root
-D_UNKNOWN_ARCHITECTURE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4
-DSIZEOF_LONG_LONG=8 -DSIZEOF_VOID_P=4 -DSTDC_HEADERS=1
-DHAVE_PTHREAD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRCHR=1 -DHAVE_MEMCPY=1
-DHAVE_GMTIME_R=1 -DHAVE_STRTOLL=1 -DHAVE_LLABS=1 -DWORDS_BIGENDIAN=1
-DHAVE_READLINE_LIBS=1 -DHAVE_CERN_ROOT=1
-I/Users/oneel/osa/osa_install/Darwin-20070228/root/include \

    ISDCParsCint.cxx
In file included from /usr/include/c++/4.0.0/ios:47,

                 from /usr/include/c++/4.0.0/ostream:44,
                 from
/Users/oneel/osa/osa_install/Darwin-20070228/root/include/Api.h:21,
                 from
/Users/oneel/osa/osa_install/Darwin-20070228/root/include/RtypesImp.h:19,
                 from ISDCParsCint.cxx:27:
/usr/include/c++/4.0.0/bits/localefwd.h:90:35: error: macro "isxdigit" passed 2 arguments, but takes just 1
In file included from /usr/include/c++/4.0.0/bits/basic_ios.h:44,
                 from /usr/include/c++/4.0.0/ios:50,
                 from /usr/include/c++/4.0.0/ostream:44,
                 from
/Users/oneel/osa/osa_install/Darwin-20070228/root/include/Api.h:21,
                 from
/Users/oneel/osa/osa_install/Darwin-20070228/root/include/RtypesImp.h:19,
                 from ISDCParsCint.cxx:27:
/usr/include/c++/4.0.0/bits/locale_facets.h:4550:45: error: macro "isxdigit" passed 2 arguments, but takes just 1 /usr/include/c++/4.0.0/bits/localefwd.h:90: error: 'std::isxdigit' declared as an 'inline' variable
/usr/include/c++/4.0.0/bits/localefwd.h:90: error: template declaration of 'bool std::isxdigit'
/usr/include/c++/4.0.0/bits/locale_facets.h:4550: error: invalid function declaration

--

Time estimates - Double the number and increment the unit

Bruce O'Neel                       phone:  +41 22 379 21 57
INTEGRAL Science Data Centre               +41 22 379 21 00 (switchb.)
Chemin d'Ecogia 16                 fax:    +41 22 379 21 35
CH-1290 VERSOIX                    e-mail: Bruce.Oneel_at_obs.unige.ch
Switzerland                        WWW:    http://isdc.unige.ch/
Received on Mon Mar 05 2007 - 15:57:59 CET

This archive was generated by hypermail 2.2.0 : Mon Mar 05 2007 - 17:50:01 CET