[ROOT] Compile problem with 4.00/08d

From: Remi Mommsen (remigius.mommsen@cern.ch)
Date: Wed Sep 15 2004 - 04:21:31 MEST


Hi,

I tried to build root from source tar ball 4.00/08d, but failed:

g++ -O2 -pipe -Wall -W -Woverloaded-virtual -fsigned-char -fno-common 
-I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -Iinclude 
-DHAVE_CONFIG -I/sw/include -D_REENTRANT -o gui/src/TGMenu.o -c 
gui/src/TGMenu.cxx
gui/src/TGMenu.cxx:151:84: invalid suffix "r" on integer constant
make: *** [gui/src/TGMenu.o] Error 1

And indeed there seems to be spurious r after the 0:

gui/src/TGMenu.cxx:
     151       main->RemoveBind(this, 
gVirtualX->KeysymToKeycode(kKey_Left), 0);
     152       main->RemoveBind(this, 
gVirtualX->KeysymToKeycode(kKey_Right), 0r);
     153       main->RemoveBind(this, 
gVirtualX->KeysymToKeycode(kKey_Up), 0);

Cheers,
		Remi

---------------------------------------------------------------------
Truth decays into beauty, while beauty soon becomes merely charm.
Charm ends up as strangeness, and even that doesn't last, but up and
down are forever.                                         (Anonymous)

*********************************************************************
Remigius K. Mommsen                 e-mail: mommsen@slac.stanford.edu
University of California, Irvine       URL:    http://cern.ch/mommsen
c/o SLAC                             voice:        ++1 (650) 926-3595
2575 Sand Hill Road #35                fax:        ++1 (650) 926-3882
Menlo Park, CA 94025, US              home:        ++1 (650) 233-9041
*********************************************************************



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