From: Joel Brobecker <brobecker@adacore.com>
To: Masaki Muranaka <monaka@monami-software.com>
Cc: gdb-patches@sourceware.org
Subject: Re: ser-mingw.c will be failed to build on GCC4.4.
Date: Wed, 24 Dec 2008 03:34:00 -0000 [thread overview]
Message-ID: <20081224033318.GD15887@adacore.com> (raw)
In-Reply-To: <49766CA5-7239-43DA-B018-5889387216FD@monami-software.com>
> Some functions in ser-mingw.c is declared with return value, with no
> return statement. For example, console_select_thread(),
> pipe_select_thread(), file_select_thread().
All these functions are used as the initial function when creating
threads. According to the MS documentation, the return value is
used to determine whether the function was successful or not.
In our case, I think that the thing to do is to add a "return 0"
at the end.
--
Joel
next prev parent reply other threads:[~2008-12-24 3:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-24 2:25 Masaki Muranaka
2008-12-24 3:34 ` Joel Brobecker [this message]
2008-12-25 2:37 ` Masaki Muranaka
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=20081224033318.GD15887@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=monaka@monami-software.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