lkml.org 
[lkml]   [2002]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] bitops cleanup 2/4
On Wed, 03 Apr 2002 14:48:08 +0200
Andreas Schwab <schwab@suse.de> wrote:

> gcc is correct. "&array" and "array" are different. While they represent
> the same address, the types are not compatible. Eg. for "int array[5]"
> the type of "array" is "int [5]" (decaying to "int *" in most contexts),
> but the type of "&array" is "int (*)[5]" (pointer to array of 5 ints).

Ah, of course. Thankyou the clue contribution. I should have thought
harder in the first place.

(To the audience) Patch, of course, is still correct..
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.032 / U:1.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site