[PATCH] fix CM compilation for gcc 2.95 (was Re: [openib-general] RFC on SDP checkin)

Sean Hefty mshefty at ichips.intel.com
Fri Feb 11 14:41:30 PST 2005


Roland Dreier wrote:

> gcc 2.95 fails on the current tree with
> 
>     cm.c:140: field `path' has incomplete type
> 
> Unfortunately, although the C spec says that using just "[]" to
> declare arrays at the end of a struct is correct, gcc 2.95 insists on
> "[0]".  This patch makes that change.

Thanks!  Applied.  Btw, I'm perfectly fine if you want to apply patches
to the CM.

- Sean



More information about the general mailing list