Hi all, While trying to a compile a fresh checkout of ROOT, I get some strange messages from GCC (`2.96'): prompt% g++ -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -I. -DHAVE_CONFIG -D_REENTRANT -o proof/src/G__Proof.o -c proof/src/G__Proof.cxx In file included from /usr/include/g++-3/stl_algobase.h:52, from /usr/include/g++-3/stl_tree.h:56, from /usr/include/g++-3/map:31, from proof/inc/TProof.h:40, from proof/src/G__Proof.h:31, from proof/src/G__Proof.cxx:5: /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/new.h:33:15: new is a directory So GCC tries to include the directory <root src tree>/new as a header! Looking at the include paths from GCC, I get prompt% g++ -v -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -I. -DHAVE_CONFIG -D_REENTRANT -o proof/src/G__Proof.o -c proof/src/G__Proof.cxx ... #include "..." search starts here: #include <...> search starts here: include . /usr/include/g++-3 /usr/local/include /usr/lib/gcc-lib/i386-redhat-linux/2.96/include /usr/include ... I could solve it by changing the command line to prompt% g++ -v -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -idirafter . -DHAVE_CONFIG -D_REENTRANT -o proof/src/G__Proof.o -c proof/src/G__Proof.cxx ... #include "..." search starts here: #include <...> search starts here: include /usr/include/g++-3 /usr/local/include /usr/lib/gcc-lib/i386-redhat-linux/2.96/include /usr/include . So there seems to be some problem in the Red Hat 7.2 CPP version 2.96-98. A heads up on that one. This problem has probably only recently surfaced, due to the inclussion of #include <map> in proof/inc/TProof.h Yours, Christian Holm Christensen ------------------------------------------- Address: Sankt Hansgade 23, 1. th. Phone: (+45) 35 35 96 91 DK-2200 Copenhagen N Cell: (+45) 28 82 16 23 Denmark Office: (+45) 353 25 305 Email: cholm@nbi.dk Web: www.nbi.dk/~cholm
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:45 MET