Messages in this thread | | | Date | Thu, 12 Apr 2001 19:17:26 -0400 | From | Greg Louis <> | Subject | Re: Linux 2.4.3-ac5 |
| |
On 20010412 (Thu) at 1726:11 +0100, Alan Cox wrote: > > 2.4.3-ac5
> o Fix rwsem compile problem (me)
No such luck, I fear, at least not with egcs-2.91.66: /usr/src/linux-2.4.3ac5/include/asm/rwsem.h:26: badly punctuated parameter list in #define' /usr/src/linux-2.4.3ac5/include/asm/rwsem.h: In function 'down_read': /usr/src/linux-2.4.3ac5/include/asm/rwsem.h:52: warning: implicit declaration of function 'rwsemdebug'
I went in and #if 0'd around the #ifdef at line 26 and uncommented the corresponding lines in "old gcc" and it worked fine. Do gcc and egcs really not define anything source could #ifdef to figure out to which compiler it's being submitted? Yuk!
-- | G r e g L o u i s | gpg public key: | | http://www.bgl.nu/~glouis | finger greg@bgl.nu | [unhandled content-type:application/pgp-signature] | |