[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: broken `sigblock' defns
From: |
Golubev I. N. |
Subject: |
Re: broken `sigblock' defns |
Date: |
Sat, 03 Nov 2001 17:22:10 (GMT) |
> Please see if the changes below solve these problems.
No. `SIGMASKTYPE' is defined in "syssignal.h" which should be
affected by "config.h" with "s/" files, all of them included before
"syssignal.h". You try to use `SIGMASKTYPE' in "s/" file before it is
defined.
Remember, "sysdep.c" defines `sigprocmask_set' var unconditionally, so
`SIGMASKTYPE' defn also gets available to it unconditionally, which is
ensured by "syssignal.h". So why not declare `sigprocmask_set' in
that same "syssignal.h" once and for all, unconditionally?
gcc -c -Demacs -DHAVE_CONFIG_H -DUSE_MOTIF -I. -I<top_srcdir>/src -g -O2
<top_srcdir>/src/dispnew.c
In file included from config.h:371,
from <top_srcdir>/src/dispnew.c:22:
<top_srcdir>/src/s/sco5.h:130: parse error before "sigprocmask_set"
<top_srcdir>/src/s/sco5.h:130: warning: data definition has no type or storage
class
gmake: *** [dispnew.o] Error 1