bug-autoconf
[Top][All Lists]
Advanced

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

Re: return value w.r.t. RETSIGTYPE


From: Paul Eggert
Subject: Re: return value w.r.t. RETSIGTYPE
Date: Thu, 08 Apr 2004 15:49:57 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Werner LEMBERG <address@hidden> writes:

> What about defining RETSIGTYPE_RETURN, to be either void or, say, `1'?
>
>   RETSIGTYPE
>   handler()
>   {
>     ...
>
>     return RETSIGTYPE_RETURN;
>   }

That wouldn't work, since "return void;" isn't valid.

Is this a real problem these days?  I would think that RETSIGTYPE is
void on all systems developed in the last fifteen years.  (So the
obvious workaround would be "don't use picky gcc when you're building
software for museum pieces".  :-)

The projects that I develop code for now assume C89 or better, where
RETSIGTYPE must be void.  So I don't even use RETSIGTYPE any more.




reply via email to

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