cannot #include TMath.h

From: Nicolas Produit (Nicolas.Produit@obs.unige.ch)
Date: Mon Jan 24 2000 - 11:28:55 MET


Hi,
I have a Break in #include "TMath.h"
(I have to call it #include "root/TMath.h" because of my local
installation)

isdcpc3:~/mem 240> root
SetTextFont: arialbd.ttf (kLoad)
SetTextSize: 0.050000
  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   2.23/11   14 January 2000   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

FreeType Engine v1.1 used to render TrueType fonts.

CINT/ROOT C/C++ Interpreter version 5.14.25, Nov 25 1999
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] #include "root/TMath.h"

 *** Break *** segmentation violation


Looking at the full trace (I can provide it if needed) I see that it
breaks in:

63   //---- constants
---------------------------------------------------------------
64
65   #ifndef NULL
66   # conditional interpretation, SKIPPED
67   #endif
68
69   const Bool_t kTRUE   = 1;
Trace mode on 1

 *** Break *** segmentation violation

What is strange is that if I run cint standalone it works:
isdcpc3:~/mem 251> cint

cint : C/C++ interpreter
   Copyright(c) : 1995~1999 Masaharu Goto (MXJ02154@niftyserve.or.jp)
   revision     : 5.14.25, Nov 25 1999 by M.Goto

No main() function found in given source file. Interactive interface
started.
'?' for help, '.q' to quit, '{ statements }' or '.p [expression]' to
evaluate

cint> #include "/isdc/dev/include/root/TMath.h"
cint>


-- 
              Nicolas Produit



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:17 MET