Re: cfortran.h in c++

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Mar 18 1997 - 12:00:21 MET


Chris Green wrote:
> 
> Hi,
> 
> Not strictly a ROOT-related question, I know, but I find myself wanting to
> use CERNLIB routines in compiled C++ code for ROOT. Using cfortran.h,
> however, the compiler (g++2.7.2.2 with g770.5.20) chokes on the '??'
> construct in line 129. Any idea what this is, why it doesn't work in C++
> and what the alternative is?
> 

You get a compiler error in cfortran.h at this point if you did not
specified the machine on which you work (linux ?) via -Dlinux or 
equivalent on other machines.

Rene Brun



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:18 MET