[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bison-3.1.91 released [beta]
From: |
Akim Demaille |
Subject: |
Re: bison-3.1.91 released [beta] |
Date: |
Tue, 23 Oct 2018 17:23:35 +0200 |
> Le 23 oct. 2018 à 17:21, Akim Demaille <address@hidden> a écrit :
>
>
>> Le 22 oct. 2018 à 18:09, Akim Demaille <address@hidden> a écrit :
>>
>> commit fe1cdd8d0cdedf99d344d8010c5c3989a166e96f
>> Author: Akim Demaille <address@hidden>
>> Date: Mon Oct 22 08:22:53 2018 +0200
>>
>> build: enable more warnings during tests
>>
>> Prompted by Derek Clegg.
>> http://lists.gnu.org/archive/html/bug-bison/2018-10/msg00018.html
>>
>> * configure.ac: here.
>
> I need to install this to pacify ICC.
>
> commit ab3dc5415c8b3a6a55fe95dd283cdbd013d55ee1
> Author: Akim Demaille <address@hidden>
> Date: Tue Oct 23 06:44:48 2018 +0200
>
> pacify ICC 16.0.3 20160415
On top of which, I need this. Fighting warnings is a nightmare.
Incredibly time consuming.
commit 9d8fc7fd3ec43a781a610f56943cce3bec1593b0
Author: Akim Demaille <address@hidden>
Date: Tue Oct 23 08:50:44 2018 +0200
yacc.c: work around strange typing issues
On the CI, both GCC and Clang report:
src/parse-gram.c: In function 'yy_lac':
src/parse-gram.c:1479:29: error: format '%hd' expects argument of type
'int',
but argument 3 has type 'yytype_int16 {aka long int}'
[-Werror=format=]
YYDPRINTF ((stderr, " G%hd", yystate));
^
Although yytype_int16 is supposed to be a short int, not a long int.
This must be explored.
* data/yacc.c (yy_lac): Work around typing issue.
diff --git a/data/yacc.c b/data/yacc.c
index 03adcffd..d8021ef6 100644
--- a/data/yacc.c
+++ b/data/yacc.c
@@ -997,7 +997,7 @@ yy_lac (yytype_int16 *yyesa, yytype_int16 **yyes,
}
*++yyesp = yystate;
}
- YYDPRINTF ((stderr, " G%hd", yystate));
+ YYDPRINTF ((stderr, " G%d", (int) yystate));
}
}
}]])[
- bison-3.1.90 released [beta], Akim Demaille, 2018/10/17
- Re: bison-3.1.91 released [beta], Akim Demaille, 2018/10/18
- Re: bison-3.1.91 released [beta], Derek Clegg, 2018/10/21
- Re: bison-3.1.91 released [beta], Derek Clegg, 2018/10/21
- Re: bison-3.1.91 released [beta], Akim Demaille, 2018/10/22
- Re: bison-3.1.91 released [beta], Akim Demaille, 2018/10/23
- Re: bison-3.1.91 released [beta],
Akim Demaille <=
- Re: bison-3.1.91 released [beta], Paul Eggert, 2018/10/23
- Re: bison-3.1.91 released [beta], Akim Demaille, 2018/10/24
- Re: bison-3.1.91 released [beta], Akim Demaille, 2018/10/24