lkml.org 
[lkml]   [2002]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [: Re: [miniPATCH][RFC] Compilation fixes in the 2.5.44]
On Fri, Oct 25, 2002 at 01:29:23PM +0200, Jan Marek wrote:
> > >
> > > unsigned int status;
> > > - long esp;
> > >
> > > irq_enter();
> > >
> > > #ifdef CONFIG_DEBUG_STACKOVERFLOW
> > > /* Debugging check for stack overflow: is there less than 1KB free? */
> > > + long esp;
> > >
> > > Most C compilers don't allow you to mix declarations and code.
> > > This is allowed only in new C standards. But GCC 3 seems to cope,
> > > so it's probably fine for new kernels.
> >
> > This fragment must be fixed, look at Documentation/Changes:
> gcc-2.95.4-17 on my Debian works fine on that and without any
> messages... You can try it, if you have other version of compiler...

Try testing with CONFIG_DEBUG_STACKOVERFLOW=y

Dave

--
| Dave Jones. http://www.codemonkey.org.uk
-
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:30    [W:0.032 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site