Rafael Garcia-Suarez wrote:
> > The preprocessor converts line 564 into
> > 
> >     (void) (*Perl_Gsigfpe_saved_ptr(((void *)0))) = signal(8, 
> > ((__sighandler_t) 1)); ;
> 
> Not a valid C line.
> 
> Note that PERL_SYS_INIT3 can expand to multiple statements; IMHO you
> shouldn't cast it to void.
> 
> That said, this patch could help :

Actually, on some systems and with some compilers, PERL_SYS_INIT3 could
even begin with if(1).

So, don't cast PERL_SYS_INIT3 to void.

If we know what prompted the addition of this (void) cast here, we could
fix the origin of the warning upstream... (if not yet done, given all
the warning-reducing work made lately)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to