All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Kegel <dank@kegel.com>
To: Andrew Morton <akpm@osdl.org>
Cc: jbglaw@lug-owl.de, linux-kernel@vger.kernel.org,
	Richard Henderson <rth@twiddle.net>
Subject: Re: 2.6.11.3 build problem in arch/alpha/kernel/srcons.c with gcc-4.0
Date: Sun, 20 Mar 2005 18:16:16 -0800	[thread overview]
Message-ID: <423E2E70.1010303@kegel.com> (raw)
In-Reply-To: <20050320190352.65cc1396.akpm@osdl.org>

Andrew Morton wrote:
> Dan Kegel <dank@kegel.com> wrote:
> 
>>Anyone with an alpha care to suggest a fix for this?
>>
>>arch/alpha/kernel/srmcons.c: In function 'srmcons_open':
>>arch/alpha/kernel/srmcons.c:196: warning: 'srmconsp' may be used uninitialized in this function
>>make[1]: *** [arch/alpha/kernel/srmcons.o] Error 1
>>make: *** [arch/alpha/kernel] Error 2
>>
>>I get this when building the 2.6.11.3 kernel with a recent gcc-4.0 snapshot.
>>
> 
> 
> It's beyond gcc's ability to figure out that the code is OK.  Options would
> be to disable -Werror, or to artificially initialise that variable.

I'll initialize it to something - guess it doesn't matter what.

Thanks,
Dan


-- 
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

  reply	other threads:[~2005-03-21  3:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-21  1:29 2.6.11.3 build problem in arch/alpha/kernel/srcons.c with gcc-4.0 Dan Kegel
2005-03-21  3:03 ` Andrew Morton
2005-03-21  2:16   ` Dan Kegel [this message]
2005-03-21  3:19   ` Richard Henderson
2005-03-21  4:26   ` Richard Henderson

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=423E2E70.1010303@kegel.com \
    --to=dank@kegel.com \
    --cc=akpm@osdl.org \
    --cc=jbglaw@lug-owl.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rth@twiddle.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.