Compiling on solaris 2.7 with gcc, I get the following warning:
gcc -c -g -O3 -Wall -Wno-switch -Winline -Wmissing-prototypes -Wshadow -Wpointer-arith -I.
-I../src -I/apps/public/XEmacs/src/xemacs-21.2.46/lib-src
-I/apps/public/XEmacs/src/xemacs-21.2.46/src -DHAVE_CONFIG_H
-I/apps/public/solaris2.7/usr/openwin/include -I/apps/public/solaris2.7/include
-I/usr/dt/include -I/usr/openwin/include
/apps/public/XEmacs/src/xemacs-21.2.46/lib-src/gnuslib.c
In file included from /usr/include/signal.h:24,
from /apps/public/XEmacs/src/xemacs-21.2.46/lib-src/gnuserv.h:108,
from /apps/public/XEmacs/src/xemacs-21.2.46/lib-src/gnuslib.c:36:
/usr/include/sys/signal.h:239: warning: `NSIG' redefined
../src/s/usg5-4.h:95: warning: this is the location of the previous definition
This is probably harmless, but it's bad that we redefine some constant
given in a system header file.
Alternatively, perhaps NSIG in usg5-4.h is wrong? On my solaris 2.7
system, NSIG is 46.
Ray