GNU bug report logs - #39206
lib/unistr/u8-uctomb.c fails to compile

Previous Next

Package: grep;

Reported by: Andreas Schwab <schwab <at> suse.de>

Date: Mon, 20 Jan 2020 16:29:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#39206: closed (lib/unistr/u8-uctomb.c fails to compile)
Date: Mon, 21 Sep 2020 19:12:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 21 Sep 2020 12:11:42 -0700
with message-id <6fe883a8-75b1-8581-8a67-13b353fc4c20 <at> cs.ucla.edu>
and subject line Re: lib/unistr/u8-uctomb.c fails to compile
has caused the debbugs.gnu.org bug report #39206,
regarding lib/unistr/u8-uctomb.c fails to compile
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
39206: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39206
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andreas Schwab <schwab <at> suse.de>
To: bug-grep <at> gnu.org
Cc: bug-gnulib <at> gnu.org
Subject: lib/unistr/u8-uctomb.c fails to compile
Date: Mon, 20 Jan 2020 17:27:46 +0100
../../grep/lib/unistr/u8-uctomb.c: In function 'u8_uctomb':
../../grep/lib/unistr/u8-uctomb.c:64:65: error: this statement may fall through [-Werror=implicit-fallthrough=]
             case 4: s[3] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0x10000;
                                                              ~~~^~~~~~~~~~
../../grep/lib/unistr/u8-uctomb.c:65:13: note: here
             case 3: s[2] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0x800;
             ^~~~
../../grep/lib/unistr/u8-uctomb.c:65:65: error: this statement may fall through [-Werror=implicit-fallthrough=]
             case 3: s[2] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0x800;
                                                              ~~~^~~~~~~~
../../grep/lib/unistr/u8-uctomb.c:66:13: note: here
             case 2: s[1] = 0x80 | (uc & 0x3f); uc = uc >> 6; uc |= 0xc0;
             ^~~~
cc1: all warnings being treated as errors

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


[Message part 3 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 39206-done <at> debbugs.gnu.org
Subject: Re: lib/unistr/u8-uctomb.c fails to compile
Date: Mon, 21 Sep 2020 12:11:42 -0700
As the bug appears to have been fixed I'm closing the bug report.


This bug report was last modified 4 years and 300 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.