Files
bison/tests
Akim Demaille 3398b0fa90 c++: fix old cast warnings
We still have a few old C casts in lalr1.cc, let's get rid of them.
Reported by Frank Heckenbach.

Actually, let's monitor all our casts using easy to grep macros.
Let's use these macros to use the C++ standard casts when we are in
C++.

* data/skeletons/c.m4 (b4_cast_define): New.
* data/skeletons/glr.c, data/skeletons/glr.cc,
* data/skeletons/lalr1.cc, data/skeletons/stack.hh,
* data/skeletons/yacc.c:
Use it and/or its casts.

* tests/actions.at, tests/cxx-type.at,
* tests/glr-regression.at, tests/headers.at, tests/torture.at,
* tests/types.at:
Use YY_CAST instead of C casts.

* configure.ac (warn_cxx): Add -Wold-style-cast.
* doc/bison.texi: Disable it.
2019-11-02 16:40:50 +01:00
..
2019-02-21 06:46:07 +01:00
2019-11-02 16:40:50 +01:00
2019-10-10 17:53:48 +02:00
2019-11-01 12:04:13 +01:00
2019-10-13 09:22:05 +02:00
2019-10-13 09:22:05 +02:00
2019-08-09 06:40:38 -05:00
2019-11-02 16:40:50 +01:00
2019-04-24 13:21:24 +02:00
2019-11-02 16:40:50 +01:00
2019-11-02 16:40:50 +01:00
2019-06-19 19:15:31 +02:00
2019-09-14 10:09:08 +02:00
2019-10-17 11:51:20 -07:00
2019-10-13 09:22:05 +02:00
2019-10-13 09:22:05 +02:00
2019-02-21 17:46:11 +01:00
2019-04-23 18:29:10 +02:00
2019-02-09 08:23:50 +01:00
2019-10-17 11:51:20 -07:00
2019-05-29 08:38:16 +02:00
2019-09-14 09:55:17 +02:00
2019-10-10 17:53:48 +02:00
2019-11-02 16:40:50 +01:00
2019-11-02 16:40:50 +01:00