PE> 2. The example program in the Borland book on how to use signal()
PE> doesn't compile, and obviously when you're trying to use it in
PE> real life (e.g. trying to recompile zip/unzip I think it was), it
PE> fails.
PC> The below example from BCOS2 v2.0, as you posted, it does not compile, but
PC> I made two changes below and it compiles... and.. works! :-)
The bug was fixed in BCOS2 1.5. Are you sure the example on
signal doesn't compile?
PC> //signal(SIGFPE, (void (cdecl *) (int)) catcher); // won't compile
PC> signal(SIGINT, catcher); // will compile, SIGINT
BFN. Paul.
@EOT:
---
* Origin: X (3:711/934.9)
|