Re: warning message posted from apic.h

2000-10-03 Thread Horst von Brand

Jakub Jelinek <[EMAIL PROTECTED]> said:
> Yes, this one is apic.h bug which RHL 7 cpp warns about:
> 
> --- linux/include/asm-i386/apic.h.jj   Mon Oct  2 20:01:18 2000
> +++ linux/include/asm-i386/apic.h  Tue Oct  3 23:50:33 2000
> @@ -10,7 +10,7 @@
>  #ifdef CONFIG_X86_LOCAL_APIC
> 
>  #if APIC_DEBUG
> -#define Dprintk(x...) printk(##x)
> +#define Dprintk(x...) printk(x)
>  #else
>  #define Dprintk(x...)
>  #endif

Are you sure gcc-2.7.2.3 (still the recommended compiler for 2.4.0-test9!)
handles this right? egcs-1.1.2 (RH kgcc) and RH gcc-2.96 do, just checked.
-- 
Horst von Brand [EMAIL PROTECTED]
Casilla 9G, Vin~a del Mar, Chile   +56 32 672616
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: warning message posted from apic.h

2000-10-03 Thread Jakub Jelinek

On Fri, Sep 29, 2000 at 11:09:33AM +, Stephen Torri wrote:
> I get the following message compiling 2.4.0-test6 or test8 on a RedHat 7
> system. "/usr/src/linux/include/asm/apic.h:13:29: warning: nothing can be
> posted after this token". Is this an issue with apic?

Yes, this one is apic.h bug which RHL 7 cpp warns about:

--- linux/include/asm-i386/apic.h.jj   Mon Oct  2 20:01:18 2000
+++ linux/include/asm-i386/apic.h  Tue Oct  3 23:50:33 2000
@@ -10,7 +10,7 @@
 #ifdef CONFIG_X86_LOCAL_APIC

 #if APIC_DEBUG
-#define Dprintk(x...) printk(##x)
+#define Dprintk(x...) printk(x)
 #else
 #define Dprintk(x...)
 #endif

Jakub
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



warning message posted from apic.h

2000-09-29 Thread Stephen Torri

I get the following message compiling 2.4.0-test6 or test8 on a RedHat 7
system. "/usr/src/linux/include/asm/apic.h:13:29: warning: nothing can be
posted after this token". Is this an issue with apic?

Stephen

-- 
[EMAIL PROTECTED]
-- 5 systems (98% Linux, 2% MS).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/