This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch for PR 14316: collect2 doesnt build on windows hosts- refresh


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]