rootcint error

From: OKUMURA, Akira <oxon_at_icrr.u-tokyo.ac.jp>
Date: Mon, 25 Sep 2006 04:49:11 -1000


Hello ROOTers,

rootcint seems not to be able to handle comments correctly.

The following is output of my makefile.



rootcint -f src/CorsikaIODict.cxx -c include/ACorsikaIACTFile.h include/LinkDef.h
Error: Illegal pointer operation (tovalue) include/bernlohr/initial.h: 100:
Error: operator '/' divided by zero include/bernlohr/initial.h:100: Syntax Error: (defined(lynx)||defined(__lynx__))/*Lynx-OS*/ include/ bernlohr/initial.h:100:

If I delete the comment at the end of the line 99, rootcint runs without this error.

line 98: # define MISSING_SNPRINTF 1
line 99: #elif ( defined(lynx) || defined(__lynx__) ) /* Lynx-OS */ line 100: # define OS_UNIX 1

Is this a bug or any my mistake ?

ROOT 5.08.00b with Fedora Core 3/GCC 3.4.3.

Sincerely,

OKUMURA, Akira oxon_at_icrr.u-tokyo.ac.jp
Institute for Cosmic Ray Research, University of Tokyo 5-1-5 Kashiwanoha Kashiwa Chiba 277-8582 Japan Phone/Fax : +81 4-7136-3153
Skype : okumura.akira Received on Mon Sep 25 2006 - 18:52:22 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:01 MET