[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

might be clobbered



the gcc output:

******************< begin quotation >********************

cc1: warnings being treated as errors
./common/linksupport.c: In function `getconnection':
./common/linksupport.c:222: warning: variable `sock' might be clobbered by `longjmp' or `vfork'
./common/linksupport.c:226: warning: variable `maxportno' might be clobbered by `longjmp' or `vfork'
./common/linksupport.c:226: warning: variable `minportno' might be clobbered by `longjmp' or `vfork'
./common/linksupport.c:230: warning: variable `port_count' might be clobbered by `longjmp' or `vfork'
./common/linksupport.c:231: warning: variable `connect_count' might be clobbered by `longjmp' or `vfork'
./common/linksupport.c:232: warning: variable `port_number' might be clobbered by `longjmp' or `vfork'
./common/linksupport.c:235: warning: variable `address_count' might be clobbered by `longjmp' or `vfork'
./common/linksupport.c:311: warning: variable `sock' might be clobbered by `longjmp' or `vfork'
./common/linksupport.c:476: warning: variable `sock' might be clobbered by `longjmp' or `vfork'
./common/linksupport.c:501: warning: variable `sock' might be clobbered by `longjmp' or `vfork'
./common/linksupport.c:528: warning: variable `sock' might be clobbered by `longjmp' or `vfork'
make[1]: *** [linksupport.lo] Error 1
make: *** [src] Error 2

******************< end quotation >**********************

What's the possible reason?
Is there easy way to fix it?
Thanks in advance.




Reply to: