Re: [BTRFS-PROGS][PATCH] remove __attribute_const__ from raid6.c

2013-02-03 Thread David Sterba
On Sun, Feb 03, 2013 at 09:56:08AM -0600, Eric Sandeen wrote: > +#define __attribute_const__ __attribute__((const)) __attribute__((__const__)) -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at ht

Re: [BTRFS-PROGS][PATCH] remove __attribute_const__ from raid6.c

2013-02-03 Thread Eric Sandeen
On 2/3/13 9:56 AM, Eric Sandeen wrote: > On 2/2/13 2:13 PM, Goffredo Baroncelli wrote: >> Hi all, >> >> I am playing with the new branch raid56-experimental. Unfortunately >> I was not able to compile the btrfs-progs tools because my gcc was unable >> to find '__attribute_const__': >> >> [...] >>

Re: [BTRFS-PROGS][PATCH] remove __attribute_const__ from raid6.c

2013-02-03 Thread Eric Sandeen
On 2/2/13 2:13 PM, Goffredo Baroncelli wrote: > Hi all, > > I am playing with the new branch raid56-experimental. Unfortunately > I was not able to compile the btrfs-progs tools because my gcc was unable > to find '__attribute_const__': > > [...] > raid6.c:48:1: error: unknown type name ‘__attr

[BTRFS-PROGS][PATCH] remove __attribute_const__ from raid6.c

2013-02-02 Thread Goffredo Baroncelli
Hi all, I am playing with the new branch raid56-experimental. Unfortunately I was not able to compile the btrfs-progs tools because my gcc was unable to find '__attribute_const__': [...] raid6.c:48:1: error: unknown type name ‘__attribute_const__’ raid6.c:48:45: error: expected ‘=’, ‘,’, ‘;’, ‘