[openib-general] [PATCH] Fix MVAPICH compile with gcc4
amith rajith mamidala
mamidala at cse.ohio-state.edu
Wed Sep 28 09:15:09 PDT 2005
Hi,
We have incorporated the gcc version 4 patch into the openib svn.
Thanks,
Amith,Weikuan
On Mon, 26 Sep 2005, Roland Dreier wrote:
> gcc version 4 doesn't like the extern declaration of free_vbuf_head to
> followed by a static declaration in vbuf.c. To fix this, we can just
> get rid of the declaration in vbuf.h, since free_vbuf_head is not used
> outside of vbuf.c.
>
> Signed-off-by: Roland Dreier <rolandd at cisco.com>
>
> --- mpid/ch_gen2/vbuf.h (revision 3549)
> +++ mpid/ch_gen2/vbuf.h (working copy)
> @@ -188,8 +188,6 @@ void allocate_vbufs(void);
>
> void deallocate_vbufs(void);
>
> -extern vbuf *free_vbuf_head;
> -
> vbuf *get_vbuf(void);
> void release_vbuf(vbuf * v);
> void vbuf_init_send(vbuf * v, unsigned long len);
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>
More information about the general
mailing list