[Getdp] latest cvs version failed to compile on fc11
Christophe Trophime
christophe.trophime at grenoble.cnrs.fr
Wed Jul 8 15:30:49 CEST 2009
Hi,
I am trying to install latest version on fc11
I had to patch the source (see attached file).
I have a problem compiling with petsc 2.3.3-p15
DofData.cpp:378: warning: ignoring return value of 'char* fgets(char*,
int, FILE*)', declared with attribute warn_unused_result
DofData.cpp: In function 'void Dof_WriteFileRES_WithEntityNum(char*,
DofData*, Group*)':
DofData.cpp:545: error: 'struct gScalar' has no member named 'd'
DofData.cpp: In function 'void Dof_ReadFileRES(List_T*, DofData*, int,
double*, double*, double*)':
DofData.cpp:573: warning: ignoring return value of 'char* fgets(char*,
int, FILE*)', declared with attribute warn_unused_result
DofData.cpp:582: warning: ignoring return value of 'int fscanf(FILE*,
const char*, ...)', declared with attribute warn_unused_result
DofData.cpp:593: warning: ignoring return value of 'char* fgets(char*,
int, FILE*)', declared with attribute warn_unused_result
DofData.cpp:629: warning: ignoring return value of 'char* fgets(char*,
int, FILE*)', declared with attribute warn_unused_result
make[2]: *** [DofData.o] Error 1
make[2]: Leaving directory
`/home/trophime/rpmbuild/BUILD/getdp-2.0.0-cvs-20090708/Legacy'
make[2]: Entering directory
`/home/trophime/rpmbuild/BUILD/getdp-2.0.0-cvs-20090708/Main'
With options do you use for petsc?
Can we use the pestc 3.0.0 ?
Thanks
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getdp-gcc44.patch
Type: text/x-patch
Size: 444 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/getdp/attachments/20090708/517b6e5f/attachment.patch>