A
Ahmed Ossman
Hi Group,
I have a serious question here, I got the following error after a two warnig
as following:
/opt/SUNWspro/bin/CC -Dsun -Dsparc -D_SYSTYPE_SYSV -DSYSTYPE_SYSV -DMK_VENDO
R_CC -xO4 -DNDEBUG -DNDEBUG -I/project/qsim/iwa/simview_ss8/mgc_home.ss5/sha
red/include -I. -IIsrc -I../glue -G -Dvco_ss5 -I/usr/opt/purify -I/usr/opt/p
urecov -I/usr/opt/quantify -DNON_PORTABLE -DNDBGMGR -DNDBGMGR -c
Isrc/swf_falcon_stubs.cxx -o swf_falcon_stubs.o || ( /bin/rm -f
swf_falcon_stubs.o; exit 1 )
"Isrc/swf_falcon_stubs.cxx", line 67: Warning (Anachronism): Formal argument
2 of type extern "C" void(*)(int) in call to std::signal(int, extern "C"
void(*)(int)) is being passed void(*)(int).
"Isrc/swf_falcon_stubs.cxx", line 129: Warning (Anachronism): Formal
argument 2 of type extern "C" void(*)(int) in call to std::signal(int,
extern "C" void(*)(int)) is being passed void(*)(int).
"Isrc/swf_falcon_stubs.cxx", line 140: Error: Could not find a match for
std::signal(int, void(*)(int)).
I think the problem can be solved by type casting,
Please advice..
Thanks,
Ahmed Ossman
I have a serious question here, I got the following error after a two warnig
as following:
/opt/SUNWspro/bin/CC -Dsun -Dsparc -D_SYSTYPE_SYSV -DSYSTYPE_SYSV -DMK_VENDO
R_CC -xO4 -DNDEBUG -DNDEBUG -I/project/qsim/iwa/simview_ss8/mgc_home.ss5/sha
red/include -I. -IIsrc -I../glue -G -Dvco_ss5 -I/usr/opt/purify -I/usr/opt/p
urecov -I/usr/opt/quantify -DNON_PORTABLE -DNDBGMGR -DNDBGMGR -c
Isrc/swf_falcon_stubs.cxx -o swf_falcon_stubs.o || ( /bin/rm -f
swf_falcon_stubs.o; exit 1 )
"Isrc/swf_falcon_stubs.cxx", line 67: Warning (Anachronism): Formal argument
2 of type extern "C" void(*)(int) in call to std::signal(int, extern "C"
void(*)(int)) is being passed void(*)(int).
"Isrc/swf_falcon_stubs.cxx", line 129: Warning (Anachronism): Formal
argument 2 of type extern "C" void(*)(int) in call to std::signal(int,
extern "C" void(*)(int)) is being passed void(*)(int).
"Isrc/swf_falcon_stubs.cxx", line 140: Error: Could not find a match for
std::signal(int, void(*)(int)).
I think the problem can be solved by type casting,
Please advice..
Thanks,
Ahmed Ossman