diff options
author | Valentin Tolmer <valentin.tolmer@gmail.com> | 2020-09-09 17:33:21 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-09-12 14:11:00 +0200 |
commit | 8bfc319f8e6a2024349179fb262a0a68760ba61e (patch) | |
tree | 0bf98e084eca3d56caf5de81ecc0da2223b7cec3 /TODO | |
parent | 1c5b05ad31f9a1572a370c42b827e2a8bd641736 (diff) | |
download | bison-8bfc319f8e6a2024349179fb262a0a68760ba61e.tar.gz |
glr2.cc: remove usage of PTRDIFF_MAX
* data/skeletons/glr2.cc: Use std::ptrdiff_t and numeric_limits.
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -162,18 +162,6 @@ Line -1 and -3 should mention CATEGORIE, not CATEGORY. *** glr.c Get rid of scaffolding in glr.c. -*** pragmas in glr2.cc -Remove the pragmas that disable some warnings: - - // 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 \ - && defined __clang__ && 4 <= __clang_major__ - # pragma clang diagnostic ignored "-Wc++11-long-long" - #endif - -We should use clean C++ code. - *** namespaces in glr2.cc StrongIndexAlias should be in the parser's namespace. Possibly even an inner class. |