------- Additional Comments From deepak at despammed dot com 2004-11-03 21:38 ------- (In reply to comment #1) > I cannot reproduce this, can you attach the preprocessed source?
Here is the plain source: #include <signal.h> extern volatile sig_atomic_t pe_connection_BAD; void sig(int signal) { int omask = sigsetmask(0); /* sigsetmask(foo): we just need omask. */ extern void sig(int); switch (signal) { case SIGINT : break; case SIGUSR1 : pe_connection_BAD = 1; } sigblock(omask & ~sigmask(SIGINT)); signal(SIGINT, sig); /* nscli will check for it. */ signal(SIGUSR1, sig); } $ cc ~/test.c -c /home/deep/test.c: In function `sig': /home/deep/test.c:18: error: called object is not a function /home/deep/test.c:19: error: called object is not a function $ I have added the preprocessed code to this bug report as attachment. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18292