Akim Demaille
ad9500f3fd
doc: wrap
...
* README-hacking: Refill paragraphs.
2018-05-08 12:35:06 +02:00
Akim Demaille
76bd8a6b4a
gnulib: update
...
* README-hacking: Commit before bootstrapping.
* bootstrap.conf: gnulib_mk is no longer defined by bootstrap.
* bootstrap, gnulib, lib/.gitignore, m4/.gitignore: Update/regen.
2018-05-08 12:35:06 +02:00
Akim Demaille
7e6bd4bb33
tests: we might need to find gnulib headers
...
315. calc.at:596: testing Calculator ...
++ cat
++ test x = x1
++ set +x
bison/tests/calc.at:596: bison -fno-caret -o calc.c calc.y
++ bison -fno-caret -o calc.c calc.y
++ set +x
bison/tests/calc.at:596: $BISON_C_WORKS
stderr:
stdout:
++ set +x
bison/tests/calc.at:596: $CC $CFLAGS $CPPFLAGS $LDFLAGS -o calc calc.c $LIBS
++ ccache clang-mp-6.0 -Qunused-arguments -O3 -g -Wall -Wextra -Wno-sign-compare -Wcast-align -Wdocumentation -Wformat -Wpointer-arith -Wwrite-strings -Wbad-function-cast -Wshadow -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wmissing-declarations -Wmissing-prototypes -Wundef -pedantic -Wsign-compare -fno-color-diagnostics -Wno-keyword-macro -Werror -Ibison/_build/6s/lib -DNDEBUG -isystem /opt/local/include -I/opt/local/include -L/opt/local/lib -o calc calc.c bison/_build/6s/lib/libbison.a -lintl -Wl,-framework -Wl,CoreFoundation
stderr:
In file included from calc.y:198:
bison/_build/6s/lib/unistd.h:592:11: fatal error: 'getopt-pfx-core.h' file not found
# include <getopt-pfx-core.h>
^~~~~~~~~~~~~~~~~~~
1 error generated.
stdout:
bison/tests/calc.at:596: exit code was 1, expected 0
315. calc.at:596: 315. Calculator (calc.at:596): FAILED (calc.at:596)
* tests/atlocal.in (CPPFLAGS): Find gnulib's headers.
2018-05-08 12:35:06 +02:00
Akim Demaille
e1dd2807e6
getargs: rename argument to avoid gnulib's renaming
...
With Clang 6.0:
CC src/bison-getargs.o
bison/src/getargs.c:67:12: error: parameter 'option' not found in the
function declaration [-Werror,-Wdocumentation]
* \param option option being decoded.
^~~~~~
bison/src/getargs.c:67:12: note: did you mean 'rpl_option'?
* src/getargs.c: Don't use `option` as a documentation argument.
2018-05-08 12:06:05 +02:00