[Top] [All Lists]

Re: 'delete' parameter in xfs_ialloc.h

To: Roger Willcocks <roger@xxxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
Subject: Re: 'delete' parameter in xfs_ialloc.h
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Mon, 12 May 2014 10:31:48 -0500
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <1399908138.4857.28.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
References: <1399908138.4857.28.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
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.


<Prev in Thread] Current Thread [Next in Thread>