"Aki" == Aki Vehtari <Aki.Vehtari(a)hut.fi> writes 2001-04-25:
Aki> I configured with --cppflags=-DREGEX_MALLOC but...
Aki> gcc -c -O3 -I. -I../src -I/proj/ave/xemacs/xemacs-21.4.0/lib-src
-I/proj/ave/xemacs/xemacs-21.4.0/src -DREGEX_MALLOC -DHAVE_CONFIG_H -I/usr/local/include
\
Aki> -DINHIBIT_STRING_HEADER /proj/ave/xemacs/xemacs-21.4.0/src/regex.c
Aki> /proj/ave/xemacs/xemacs-21.4.0/src/regex.c: In function
`sys_re_compile_fastmap':
Aki> /proj/ave/xemacs/xemacs-21.4.0/src/regex.c:3412: `DECLARE_NOTHING' undeclared
(first use this function)
Oh well, as no-one have looked into this yet, today I finally had
time myself to investigate this.
Problem is that DECLARE_NOTHING is undeclared, although lisp.h,
which defines it, is included. I copied following lines
from lisp.h
---Clip---
#ifndef DECLARE_NOTHING
#define DECLARE_NOTHING struct nosuchstruct
#endif
---Clip---
to regex.c, just before DECALRE_NOTHING is first time used,
and now I it compiled.
As I can't find reason why DECALRE_NOTHING is not defined, although
lisp.h, which defines it, is included, I hope that someone more
familiar with this part of the code would check where the problem
really is.
Btw, I also think that REGEX_MALLOC should be defined by default
for Digital UNIX.
Aki