[gfortran] add SIGNAL and ALARM intrinsics

Andreas Jaeger aj@suse.de
Sun Nov 20 09:07:00 GMT 2005


FX Coudert <fxcoudert@gmail.com> writes:

>>> Then you should at least use *status = (long) signal (*number, handler);
>>> to shut up the warnings about the cast if that's intentional.
>
> Doesn't that only works on platforms where a pointer has the same size
> as long?

Which is most platforms except MS Windows on x86-64.  You should use
intptr_t if it's defined...

>> Plus a comment in the source would help too I guess.
>
> OK. Will do it when I understand the first point.

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20051120/ae238c5a/attachment.sig>


More information about the Gcc-patches mailing list