emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#22260: closed (tinycc complaint about dfa.c)


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#22260: closed (tinycc complaint about dfa.c)
Date: Thu, 31 Dec 2015 06:43:01 +0000

Your message dated Wed, 30 Dec 2015 22:42:40 -0800
with message-id <address@hidden>
and subject line Re: bug#22260: tinycc complaint about dfa.c
has caused the debbugs.gnu.org bug report #22260,
regarding tinycc complaint about dfa.c
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
22260: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22260
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: tinycc complaint about dfa.c Date: Mon, 28 Dec 2015 22:53:34 +0200 User-agent: Heirloom mailx 12.5 6/20/10
Hi.

The current development version of tinycc (mob branch) has this
complaint when I compile gawk:

dfa.c:1734: warning: assignment discards qualifiers from pointer target type

This "fixes" it:

diff --git a/dfa.c b/dfa.c
index 6be2102..d29b72f 100644
--- a/dfa.c
+++ b/dfa.c
@@ -1706,7 +1706,7 @@ addtok_wc (wint_t wc)
 static void
 add_utf8_anychar (void)
 {
-  static const charclass utf8_classes[5] = {
+  static charclass const utf8_classes[5] = {
     /* 80-bf: non-leading bytes.  */
     {0, 0, 0, 0, CHARCLASS_WORD_MASK, CHARCLASS_WORD_MASK, 0, 0},
 
This is the only compiler that complains, and even this one only
just started.

Should I commit this fix?

Thanks,

Arnold



--- End Message ---
--- Begin Message --- Subject: Re: bug#22260: tinycc complaint about dfa.c Date: Wed, 30 Dec 2015 22:42:40 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
Paul Eggert wrote:
Aharon Robbins wrote:
Should I commit this fix?

Yes, please.

Never mind; I installed it, as we want to release a new bugfix version soon. Closing the bug.


--- End Message ---

reply via email to

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