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

ansi compilers, signals, and NSIG



> The newer signal code uses NSIG, defined in /usr/include/sys.h. Unfortunately,
> on Solaris 2.1, this doesn't get defined if __STDC__ is defined. Obvious
> workaround is to put '-DNSIG=34' in CFLAGS.

ok, i've been thinking about this and the follow-up notes.  the problem
here, in my mind, is that ansi conformance requires avoiding namespace
pollution;  that is, strict ansi mode usually hides all the identifiers
that es wants to get at.

my opinion is that es should not be compiled in strict ansi mode.
perhaps strict posix mode, but if you have signals on your system that
are not on when doing posix mode, i would recommend compiling in
``native mode,'' whatever that means.

paul