home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!ukma!usenet.ins.cwru.edu!eagle!bonsai.lerc.nasa.gov!xxbja
- From: xxbja@bonsai.lerc.nasa.gov (Betty Jo Armstead)
- Subject: C++ signal problem
- Message-ID: <1992Nov18.220409.12513@eagle.lerc.nasa.gov>
- Sender: news@eagle.lerc.nasa.gov
- Nntp-Posting-Host: bonsai.lerc.nasa.gov
- Organization: NASA Lewis Research Center [Cleveland, Ohio]
- Date: Wed, 18 Nov 1992 22:04:09 GMT
- Lines: 20
-
- Subject: C++ signal problem
- I am trying to compile a C++ program that contains signals.
-
- The fillowing statement
- (void)signal(SIGTSTP,termstop);
- Gets the following error:
-
- "display.C" line 520 error: bad argument 2 for signal(): void (*)(int)
- ( void (*)(int...)expected)
-
- The function termstop is declared type void
-
- I am compiling on an Indigo system level 4.01 with Release 2.0 of C++
-
- Any help will be greatly appreciated.
- --
- ======================================================================
- Betty Jo Armstead xxbja@bonsai.lerc.nasa.gov (216)-433-5086
- The future belongs to those who believe in the beauty of their dreams
- and work at making them come true.
-