This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for PR 14316: collect2 doesnt build on windows hosts- refresh
- From: "Aaron W. LaFramboise" <aaronavay62 at aaronwl dot com>
- To: Danny Smith <danny_smith_0000 at yahoo dot co dot nz>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 24 Oct 2004 01:21:50 -0500
- Subject: Re: Patch for PR 14316: collect2 doesnt build on windows hosts- refresh
- References: <20041014112551.61054.qmail@web50904.mail.yahoo.com>
Danny Smith wrote:
> #ifdef SIGQUIT
> quit_handler = (void (*) (int)) signal (SIGQUIT, SIG_IGN);
> #endif
With this patch, I needed to conditionally define quit_handler on
SIGQUIT to prevent bootstrap from dying in stage 2. When SIGQUIT is not
defined, this variable is never used, and so -Werror stops the build.
Aaron W. LaFramboise