This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos 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: Avoid gcc 3.2 bug with signals


On Thu, 2003-02-13 at 01:02, Jonathan Larmour wrote:

> +
> +	* include/signal.inl (raise): Use if/else rather than switch to
> +	avoid GCC 3.2 bug.
> +

Quite a change just to avoid a compiler bug no? I'd rather avoid the
compiler but I guess you don't have the choice.

> +    if ( __sigfun == SIG_DFL {
                              ^^^
Something's missing here :)


-- 
rnf



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