public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* 'delete' parameter in xfs_ialloc.h
@ 2014-05-12 15:22 Roger Willcocks
  2014-05-12 15:31 ` Eric Sandeen
  0 siblings, 1 reply; 6+ messages in thread
From: Roger Willcocks @ 2014-05-12 15:22 UTC (permalink / raw)
  To: xfs

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@filmlight.ltd.uk>

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-19 23:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-12 15:22 'delete' parameter in xfs_ialloc.h Roger Willcocks
2014-05-12 15:31 ` Eric Sandeen
2014-05-12 17:52   ` Roger Willcocks
2014-05-12 17:52   ` [PATCH] xfsprogs: fix compile error when libxfs header used in C++ code Roger Willcocks
2014-05-12 17:52   ` [PATCH] xfs: " Roger Willcocks
2014-05-19 22:59     ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox