lkml.org 
[lkml]   [2004]   [Jun]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PROBLEM: 2.6.7 does not compile (jfs errors)
Hello,

Geert Uytterhoeven wrote:
> On Wed, 16 Jun 2004, Dave Kleikamp wrote:
>>On Wed, 2004-06-16 at 08:39, Perlbroker wrote:
>>>fs/jfs/jfs_dtree.c:389: `temp_table' undeclared (first use in this function)
>>This was reported in another thread by Tomas Szepe. I don't know why
>>this sometimes compiles cleanly, but this patch should fix it:
> Because newer gcc allows declarations of variables between statements, while
> older doesn't?
>
Yep, the C99 edition of the C standard allows this.

I do not know when GCC started to support this particular C99 'feature'
but we may see it popping op more often when "newer gcc"-only developers
commit.

Regards,

Leon.
-
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 14:03    [W:1.134 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site