From: Horst von Brand <vonbrand@inf.utfsm.cl>
To: "J . A . Magallon" <jamagallon@able.es>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] gcc-3.0 warnings
Date: Fri, 23 Mar 2001 13:12:03 -0400 [thread overview]
Message-ID: <200103231712.f2NHC3xY001829@pincoya.inf.utfsm.cl> (raw)
In-Reply-To: Message from "J . A . Magallon" <jamagallon@able.es> of "Fri, 23 Mar 2001 01:11:41 +0100." <20010323011140.A1176@werewolf.able.es>
"J . A . Magallon" <jamagallon@able.es> said:
> I have been building (and hopefully booting) ac-21 with gcc-3.0 snapshot
> dated 20010312. I have cleared the 99% of the warnings that 3.0 issues
> when building the kernel. Obviuosly, only in the main kernel part for
> i386 and the drivers I use. I suppose other arch will require a similar
> cleanup.
>
> All are related to multiline strings in asm() sentences, that seem to have
> been deprecated, and out: or default: labels at the end of blocks. Pathc
> is inlined.
The problem with labels at the end of blocks, like so:
{
....
goto out;
....
out:
}
is that this is not legal C: The label should be part of a sentence, and
there is none. Just write (note the ';' after the label):
{
....
goto out;
....
out: ;
}
(Yes, this is ugly).
--
Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
prev parent reply other threads:[~2001-03-23 17:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-23 0:11 J . A . Magallon
2001-03-23 0:28 ` Alan Cox
2001-03-23 0:38 ` J . A . Magallon
2001-03-23 9:29 ` Tim Waugh
2001-03-23 23:56 ` Ingo Oeser
2001-03-23 22:29 ` Bill Wendling
2001-03-23 22:34 ` Linus Torvalds
2001-03-23 22:59 ` J . A . Magallon
2001-03-24 0:31 ` Tim Wright
2001-03-24 0:42 ` Andrew Morton
2001-03-24 0:55 ` J . A . Magallon
2001-03-24 21:51 ` Tim Waugh
2001-03-24 5:30 ` Ion Badulescu
2001-03-24 1:16 ` Stephen Satchell
2001-03-26 14:25 ` Tim Wright
2001-03-23 17:12 ` Horst von Brand [this message]
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=200103231712.f2NHC3xY001829@pincoya.inf.utfsm.cl \
--to=vonbrand@inf.utfsm.cl \
--cc=jamagallon@able.es \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®