[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows Build: feature branch, src/exithandle.c,

From: Larry Jones
Subject: Re: Windows Build: feature branch, src/exithandle.c,
Date: Sat, 15 May 2004 16:01:30 -0400 (EDT)

Conrad T. Pino writes:
> I'd like your comments on the following patch which silences the
> warning using a new typedef cast.

That just silences the warning, it doesn't fix the problem.  As I said
before, the problem is that signal handlers take one argument and exit
handlers take no arguments, but we're trying to use the same functions
for both -- you can't do that because the two different function types
could have completely different calling conventions.  The only way to
fix the problem is to have two separate functions (although one could
just be a wrapper for the other), but it's not clear that it's worth it
since the problem is purely theoretical -- there are no known
implementations where the current code actually fails.

I object to silencing the warning without fixing the problem, but I
don't object to not fixing the problem.  :-)

-Larry Jones

You're going to be pretty lonely in the nursing home. -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]