Re: cfortran.h in c++

Rene Brun (Rene.Brun@cern.ch)
Tue, 18 Mar 1997 12:00:21 +0100


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