RedHat 7.1 problem...

Hi !

I get errors compiling the OCC DEV 4 source code on my RedHat 7.1, the bad file is AdvApp2Var_Iso.cxx at line 244.

Sorry I don't have the error message here at the moment, but it had something with "const" declarations to do.

- Has any one else this problems to ?

- Does it work with gcc 2.95.x compilers ?

- Has this problem been solved in the cvs ver ?

Mikael

Philippe Poncot's picture

the correction will be publish in the CVS Repostory this evening . the correction is :

substitute in AdvApp2Var/AdvApp2Var_Iso.cxx ( line 242 ):

Ma2fnc(&NDIMEN,&NBSESP,&NDIMSE,UVFONC,Func,&TCONST,&ISOFAV,&NBROOT,ROOTLG,

&IORDRE,&iapp,&NDGJAC,&NBCRMX,&NCFLIM,EPSAPR,&ncfapp,CRBAPP,&NBCRBE,

SOMAPP,DIFAPP,CONTR1,CONTR2,TABDEC,EMXAPP,EMYAPP,&ierapp);

by :

Ma2fnc(&NDIMEN,&NBSESP,&NDIMSE,UVFONC,(void *)Func,&TCONST,&ISOFAV,&NBROOT,ROOTLG,

&IORDRE,&iapp,&NDGJAC,&NBCRMX,&NCFLIM,EPSAPR,&ncfapp,CRBAPP,&NBCRBE,

SOMAPP,DIFAPP,CONTR1,CONTR2,TABDEC,EMXAPP,EMYAPP,&ierapp);

in the same wat : /src/AdvApp2Var/AdvApp2Var_Patch.cxx ( li 328 )

subsitute : Ma2ds1(&NDIMEN,UDBFN,VDBFN,Func,&NBPNTU,&NBPNTV,UROOT,VROOT,&ISOFAV,

SOSOTB,DISOTB,SODITB,DIDITB,PTS,TAB,&IERCOD);

by :

Ma2ds1(&NDIMEN,UDBFN,VDBFN,(void *)Func,&NBPNTU,&NBPNTV,UROOT,VROOT,&ISOFAV,

SOSOTB,DISOTB,SODITB,DIDITB,PTS,TAB,&IERCOD);

Philippe