I've been thinking about the problem that GWM, CHR, IDI etc have with
their error include files mixing proper EMS error codes and local error
codes.
My current thoughts involve the existence of a _err.in file which
has the non-EMS part of the include file and for this .in file to be
concatenated with the messgen output. There are a number of ways to
proceed after that:
1. Extend messgen to recognize the presence of a .in version and copy
that in to the output file before writing the EMS codes.
2. Change the autoconf MESSGEN generation code to spot the .in file
itself and do the concatentation after running messgen.
3. Do the concatenation explicitly in each Makefile.am (but this would
probably require messgen to create an intermediate file rather than the
final output file).
Do people have a preference? I can do #1 myself but #2 would require
Norman.
PS PGP_ERR (in graphpar) doesn't even seem to have valid EMS error codes.
CREMSG refused to parse them because the deltas are not divisible by
eight. Does anyone know what is going on with that?
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|