Re: badly punctuated parameter list in `#define' (2.4.3-ac5 and 2.4.4 -pre2)

2001-04-13 Thread Christoph Hellwig
On Fri, Apr 13, 2001 at 12:39:39PM +0200, Jamie Lokier wrote: > Christoph Hellwig wrote: > > So the /* old gcc */ part should probably be enabled based on a define for the > > old compiler. The right ifdef seems to be: > > > > #if __GNUC__ == 2 && __GNUC_MINOR__ < 95 > > The current GCC

Re: badly punctuated parameter list in `#define' (2.4.3-ac5 and 2.4.4 -pre2)

2001-04-13 Thread Jamie Lokier
Christoph Hellwig wrote: > So the /* old gcc */ part should probably be enabled based on a define for the > old compiler. The right ifdef seems to be: > > #if __GNUC__ == 2 && __GNUC_MINOR__ < 95 The current GCC supports the old syntax and will do so for a while yet, so perhaps this is not

Re: badly punctuated parameter list in `#define' (2.4.3-ac5 and 2.4.4 -pre2)

2001-04-13 Thread Jamie Lokier
Christoph Hellwig wrote: So the /* old gcc */ part should probably be enabled based on a define for the old compiler. The right ifdef seems to be: #if __GNUC__ == 2 __GNUC_MINOR__ 95 The current GCC supports the old syntax and will do so for a while yet, so perhaps this is not

Re: badly punctuated parameter list in `#define' (2.4.3-ac5 and 2.4.4 -pre2)

2001-04-13 Thread Christoph Hellwig
On Fri, Apr 13, 2001 at 12:39:39PM +0200, Jamie Lokier wrote: Christoph Hellwig wrote: So the /* old gcc */ part should probably be enabled based on a define for the old compiler. The right ifdef seems to be: #if __GNUC__ == 2 __GNUC_MINOR__ 95 The current GCC supports the old

Re: badly punctuated parameter list in `#define' (2.4.3-ac5 and 2.4.4 -pre2)

2001-04-12 Thread Wayne . Brown
Christoph Hellwig <[EMAIL PROTECTED]> wrote: >So the /* old gcc */ part should probably be enabled based on a define for the >old compiler. The right ifdef seems to be: > > #if __GNUC__ == 2 && __GNUC_MINOR__ < 95 > >Could you test it this way? Yes, that works for me. Is this the sort of

Re: badly punctuated parameter list in `#define' (2.4.3-ac5 and 2.4.4 -pre2)

2001-04-12 Thread Christoph Hellwig
In article <[EMAIL PROTECTED]> you wrote: > > When compiling 2.4.3-ac5 (and also 2.4.4-pre2) I get this: > > /usr/src/linux-2.4.3-ac5/include/asm/rwsem.h:26: badly punctuated parameter list > in `#define' > > This appears to be due to some code in rwsem.h that is written for a different >

badly punctuated parameter list in `#define' (2.4.3-ac5 and 2.4.4-pre2)

2001-04-12 Thread Wayne . Brown
When compiling 2.4.3-ac5 (and also 2.4.4-pre2) I get this: /usr/src/linux-2.4.3-ac5/include/asm/rwsem.h:26: badly punctuated parameter list in `#define' This appears to be due to some code in rwsem.h that is written for a different version of gcc. (I'm still using gcc-2.91.66 as specified in

badly punctuated parameter list in `#define' (2.4.3-ac5 and 2.4.4-pre2)

2001-04-12 Thread Wayne . Brown
When compiling 2.4.3-ac5 (and also 2.4.4-pre2) I get this: /usr/src/linux-2.4.3-ac5/include/asm/rwsem.h:26: badly punctuated parameter list in `#define' This appears to be due to some code in rwsem.h that is written for a different version of gcc. (I'm still using gcc-2.91.66 as specified in

Re: badly punctuated parameter list in `#define' (2.4.3-ac5 and 2.4.4 -pre2)

2001-04-12 Thread Christoph Hellwig
In article [EMAIL PROTECTED] you wrote: When compiling 2.4.3-ac5 (and also 2.4.4-pre2) I get this: /usr/src/linux-2.4.3-ac5/include/asm/rwsem.h:26: badly punctuated parameter list in `#define' This appears to be due to some code in rwsem.h that is written for a different version of gcc.

Re: badly punctuated parameter list in `#define' (2.4.3-ac5 and 2.4.4 -pre2)

2001-04-12 Thread Wayne . Brown
Christoph Hellwig [EMAIL PROTECTED] wrote: So the /* old gcc */ part should probably be enabled based on a define for the old compiler. The right ifdef seems to be: #if __GNUC__ == 2 __GNUC_MINOR__ 95 Could you test it this way? Yes, that works for me. Is this the sort of thing you