bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error compiling bison 3.4.2 on Solaris


From: Paul Eggert
Subject: Re: Error compiling bison 3.4.2 on Solaris
Date: Thu, 24 Oct 2019 14:27:44 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

On 10/24/19 9:04 AM, Akim Demaille wrote:
+/* Seehttps://lists.gnu.org/archive/html/bug-bison/2019-10/msg00061.html. */
+#if defined __GNUC__ && ! defined __clang__ && ! defined __ICC && __GNUC__ < 5
+/* Suppress an incorrect diagnostic about yylval being uninitialized.  */
+# define IGNORE_TYPE_LIMITS_BEGIN \
+    _Pragma ("GCC diagnostic push") \
+    _Pragma ("GCC diagnostic ignored \"-Wtype-limits\"")

The comment doesn't look right there, as -Wtype-limits is not about initialization.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]