LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Satya Gosula (narayanagkvs_at_[hidden])
Date: 2004-02-13 04:45:41


hi,
  I am trying to use lam_ksignal to modify the default signal handler for LAM_SIGA. I get the following error.

ANSI C++ prohibits conversion from '(int)' to '(...)'

Here's my signal handler
void catch_signal(int signum)
{
//code
}

I am modifying the signal handler like this:
lam_ksignal(LAM_SIGA,catch_signal);

Am I doing something wrong?

thanks,
Satya.



hi, I am trying to use lam_ksignal to modify the default signal handler for LAM_SIGA. I get the following error. ANSI C++ prohibits conversion from '(int)' to '(...)' Here's my signal handler void catch_signal(int signum) { //code } I am modifying the signal handler like this: lam_ksignal(LAM_SIGA,catch_signal); Am I doing something wrong? thanks, Satya.