Allow C++ compilation on Linux, as a safety measure in type
commitc9b452eadd49d0588f5853bc5917a2b2448fc3f8
authorEric Blake <ebb9@byu.net>
Wed, 1 Nov 2006 22:29:07 +0000 (1 22:29 +0000)
committerEric Blake <ebb9@byu.net>
Fri, 21 Sep 2007 21:27:49 +0000 (21 15:27 -0600)
treeed7ae893a76c6e5d128fc0e8787076a048d51c2e
parentdd978e990064e693842b2b22b73221ef62ac53f8
Allow C++ compilation on Linux, as a safety measure in type
checking.
* m4/gnulib-cache.m4: Augment with 'gnulib-tool --import
stdbool'.
* src/m4.h (hack_symbol, hack_all_symbols): Use full prototype.
(boolean): Kill this, and use stdbool.h instead.
* src/debug.c, src/eval.c, src/input.c, src/macro.c, src/m4.c:
* src/output.c, src/symtab.c: All users changed.
* src/symtab.c (hack_all_symbols): Update prototype.
* src/builtin.c (dump_symbol, set_trace): Update signature.
(m4_dumpdef, m4_traceon, m4_traceoff): Update callers.
(mkstemp_helper, m4_m4wrap, expand_ranges, m4_translit): Allow
C++ compilation.
* src/debug.c (trace_flush): Likewise.
* src/freeze.c (reload_frozen_state): Likewise.
* src/input.c (push_file, push_string_finish, push_wrapup):
(token_bottom, next_token): Likewise.
* src/m4.c (main): Likewise.
12 files changed:
ChangeLog
m4/gnulib-cache.m4
src/builtin.c
src/debug.c
src/eval.c
src/freeze.c
src/input.c
src/m4.c
src/m4.h
src/macro.c
src/output.c
src/symtab.c