American Citizen on Tue, 15 Oct 2024 04:14:31 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

file collisions and gp2c-run command


Suppose I have 3 pari packages

nlog(A) = {do stuff, return;}

{ pkg1(A)=

\r nlog(A);

do stuff;

}

{pkg2(B)=

\r nlog(A);

do stuff;

}

{pkg3(C)=

\r pkg1;

\r pkg2;

do more stuff;

}

when I run the gp2c-run command on pkg, it thinks I am redefining nlog all over again and flags it as a warning.

This is not true of course.. is there anyway of fixing this, so gp2c-run command won't be fooled for pkg3 ? This is similar to put the precompiler flags in place for the header files when compiling C-programs.

Randall