diff options
author | Valentin Tolmer <valentin.tolmer@gmail.com> | 2020-09-09 17:01:21 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-09-12 14:10:21 +0200 |
commit | 1c5b05ad31f9a1572a370c42b827e2a8bd641736 (patch) | |
tree | 2a8a61411e15321ac69cf4981ff2cd19173a5c6a /TODO | |
parent | b7e2cac2aaee433415209ac65092425164eccd76 (diff) | |
download | bison-1c5b05ad31f9a1572a370c42b827e2a8bd641736.tar.gz |
glr2.cc: remove C-style casts
* data/skeletons/glr2.cc: here.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -165,14 +165,6 @@ Get rid of scaffolding in glr.c. *** pragmas in glr2.cc Remove the pragmas that disable some warnings: - // This skeleton is based on C, yet compiles it as C++. - // So expect warnings about C style casts. - #if defined __clang__ && 306 <= __clang_major__ * 100 + __clang_minor__ - # pragma clang diagnostic ignored "-Wold-style-cast" - #elif defined __GNUC__ && 406 <= __GNUC__ * 100 + __GNUC_MINOR__ - # pragma GCC diagnostic ignored "-Wold-style-cast" - #endif - // On MacOS, PTRDIFF_MAX is defined as long long, which Clang's // -pedantic reports as being a C++11 extension. #if defined __APPLE__ && YY_CPLUSPLUS < 201103L \ |