-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Paul Edwards on 1/31/2009 9:34 PM: >> This is an old version with known security flaws. Can you try porting >> the >> newer m4 1.4.12 release instead, which should still be compilable with >> just a C89 compiler? > > Ok, I've just tried. There are both C99 and non-C99 extensions, > and while I see there are replacement header files for some of > them, I can't even just copy those header files as a replacement since > they have @ characters in them, which presumably needs to be processed > by something else.
All of the @ characters are designed to be replaced by running the Makefile produced by the ./configure script. Are you able to run that script? If not, can you at least post the resulting config.log to show how far it got? > > It would be nice if M4 compiled by default on a C89 compiler and > if the extensions are there for cosmetic or any other purpose, > that's fine, but the user needs to enable the use of those > extensions. It _does_ compile with a C89 compiler, once you have a successful configure run. At least, that is the intent of all the replacement headers. > > Since I'm not actually using m4 for any purpose on the mainframe, > and even if I was, the 1.4 version probably works fine, I'll just stick > with the back-level, unless there's an interim version before the > switch to C99 extensions. I've included what I got up to before > being forced to use a stdbool. The replacement <stdbool.h> is designed to be C89 compatible, using values learned at configure time about your compiler's characteristics and substituted at make time when renaming lib/stdbool.in.h to lib/stdbool.h. - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmFOLgACgkQ84KuGfSFAYDthACfW+gS+KQqcja4Yr+7IhfeEztU Pd4AoIYp9e2u9B/n2RdwaZxC1v5D2QXI =qog0 -----END PGP SIGNATURE-----