From: Dave Jones <davej@codemonkey.org.uk>
To: Jan Marek <linux@hazard.jcu.cz>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [linux@hazard.jcu.cz: Re: [miniPATCH][RFC] Compilation fixes in the 2.5.44]
Date: Fri, 25 Oct 2002 14:18:24 +0100 [thread overview]
Message-ID: <20021025131824.GA1766@suse.de> (raw)
In-Reply-To: <20021025112923.GB1073@hazard.jcu.cz>
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
next prev parent reply other threads:[~2002-10-25 13:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-25 11:29 [linux@hazard.jcu.cz: Re: [miniPATCH][RFC] Compilation fixes in the 2.5.44] Jan Marek
2002-10-25 13:18 ` Dave Jones [this message]
2002-10-25 13:41 ` Jan Marek
2002-10-25 14:13 ` Jan Marek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021025131824.GA1766@suse.de \
--to=davej@codemonkey.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@hazard.jcu.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).