[mpich-discuss] ad_pvfs2/ad_pvfs2_aio.c PVFS_isys_read

Wei-keng Liao wkliao at ece.northwestern.edu
Fri Mar 7 10:36:46 CST 2008


I got a compile warning (from buliding mpich2-1.0.6p1):
  ad_pvfs2_aio.c:95: warning: passing argument 9 of 'PVFS_isys_io' makes 
  pointer from integer without a cast
  ad_pvfs2_aio.c:105: warning: passing argument 9 of 'PVFS_isys_io' makes 
  pointer from integer without a cast

In file ad_pvfs2/ad_pvfs2_aio.c, lines 97 and 107, shouldn't
  aio_req->op_id
be
  &(aio_req->op_id)
?

Also there are other warnings that I don't know how to fix:
  ad_pvfs2_read.c: In function 'ADIOI_PVFS2_ReadStrided':
  ad_pvfs2_read.c:486: warning: cast from pointer to integer of different 
  size

  ad_pvfs2_write.c: In function 'ADIOI_PVFS2_WriteStrided':
  ad_pvfs2_write.c:540: warning: cast from pointer to integer of different 
  size

I am compiling it on a 64-bit machine.

Wei-keng




More information about the mpich-discuss mailing list