xfs
[Top] [All Lists]

Re: Bug#249429: xfslibs-dev: xfs/swab.h not ISO-C(++) compliant (fwd)

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: Bug#249429: xfslibs-dev: xfs/swab.h not ISO-C(++) compliant (fwd)
From: Chris Wedgwood <cw@xxxxxxxx>
Date: Thu, 20 May 2004 13:15:45 -0700
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20040518094449.H543681@wobbly.melbourne.sgi.com>
References: <20040518094449.H543681@wobbly.melbourne.sgi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Tue, May 18, 2004 at 09:44:49AM +1000, Nathan Scott wrote:

> /usr/include/xfs/swab.h: In function `const __u16 __fswab16(short unsigned 
> int)':
> /usr/include/xfs/swab.h:113: error: ISO C++ forbids braced-groups within 
> expressions

ick

> Afaik, includes intended for user space should have this fixed (for
> gcc, at least) via "__extension__", as in the patch.

that sounds horrible and i very much doubt it will work with icc (did
any check?)

are inlines really out of the question here?


  --cw


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