xfs
[Top] [All Lists]

'delete' parameter in xfs_ialloc.h

To: xfs@xxxxxxxxxxx
Subject: 'delete' parameter in xfs_ialloc.h
From: Roger Willcocks <roger@xxxxxxxxxxxxxxxx>
Date: Mon, 12 May 2014 16:22:18 +0100
Delivered-to: xfs@xxxxxxxxxxx
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.

-- 
Roger Willcocks <roger@xxxxxxxxxxxxxxxx>

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