'delete' parameter in xfs_ialloc.h
Eric Sandeen
sandeen at sandeen.net
Mon May 12 10:31:48 CDT 2014
On 5/12/14, 10:22 AM, Roger Willcocks wrote:
> Hi folks,
>
> I have to fix this up every time I update xfsprogs -
>
> The 'delete' parameter in xfsprogs/include/xfs_ialloc.c:xfs_difree(...)
> causes a compile error if the header's included in C++ code (even with
> 'extern "C"') -
>
> xfs_ialloc.h:102: error: expected ‘,’ or ‘...’ before ‘delete’
>
> (gcc 4.4.7)
>
> It would be handy if the parameter name could be commented out or
> changed in the header.
>
Send a patch? Would need to hit kernel code too.
-Eric
More information about the xfs
mailing list