From: Daniel Jacobowitz <drow@false.org>
To: timeless <timeless@gmail.com>
Cc: gdb-patches@sourceware.org
Subject: Re: void function cannot return value
Date: Thu, 08 Feb 2007 16:32:00 -0000 [thread overview]
Message-ID: <20070208163225.GC11806@nevyn.them.org> (raw)
In-Reply-To: <1a75cc570701311332w440ae8efgfc2e427f72e85115@mail.gmail.com>
On Wed, Jan 31, 2007 at 11:32:47PM +0200, timeless wrote:
> the build fails because of:
> "wrapper.c", line 773: void function cannot return value
> ".././gdb/cli/cli-cmds.c", line 517: void function cannot return value
> "target.c", line 1248: void function cannot return value
> "target.c", line 1264: void function cannot return value
>
> the fix (cvs diff attached) is to replace
> return (void) foo();
> with
> foo(); return;
Thanks for the patch! I committed it.
--
Daniel Jacobowitz
CodeSourcery
prev parent reply other threads:[~2007-02-08 16:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-31 21:32 timeless
2007-02-08 16:32 ` Daniel Jacobowitz [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=20070208163225.GC11806@nevyn.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=timeless@gmail.com \
/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