Markus Stoye <mstoye_at_mail.desy.de> writes:
> Hi,
> in a macro I include:
>
> ...
> #define f2cFortran
> #include "cfortran.h"
> ...
>
> root [0] gSystem->Load("/usr/lib/libf2c");
> root [1] .L macro.cc
> Note: macro handled as typedef double DOUBLE_PRECISION; FILE:cfortran.h
> LINE:220
> Note: macro handled as typedef float FORTRAN_REAL; FILE:cfortran.h
> LINE:228
> Limitation: can not handle macro AcfCOMMA , Use +P or -p option
> FILE:cfortran.h LINE:320
> *** Interpreter error recovered ***
> root [4]
>
> How can I get rid of the problem?
> Cheers,
> Markus
Hi Markus,
I suggest to compile your code dealing with cfortran.h either by ACLIC
or create a library. This worked for me, I used cfortran.h to
interface Herwig, jet algorithms and ROOT. cfortran.h may be difficult to
parse by cint but even if you succeed I am not sure it is supposed to
work. It has a knowledge of calling conventions of various compilers
on plenty of platforms but nothing about cint and which particular
architecture it is running.
cheers
Jiri Received on Thu Jun 09 2005 - 08:48:18 MEST
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:09 MET