Hello,
There seems to be a little bug in ksignal.h which is probably causing this
problem. (This is one of those files which is not frequently used in
LAM which could explain why this was overlooked)
Chaning the following line:
extern void (*(lam_ksignal __ARGS((int sig, void (*sigfunc)())))) ();
to
extern void (*(lam_ksignal __ARGS((int sig, void (*sigfunc)(int))))) ();
should help.
Thank you.
Prashanth Charapalli,
LAM/MPI Team.
Thus spoke Satya Gosula in the message sent on Fri, 13 Feb 2004
->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.
|