GNU bug report logs -
#61452
[PATCH] ; * src/textconv.c (textconv_query): Add empty statement
Previous Next
Reported by: Philip Kaludercic <philipk <at> posteo.net>
Date: Sun, 12 Feb 2023 12:36:01 UTC
Severity: normal
Tags: patch
Done: Philip Kaludercic <philipk <at> posteo.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61452 in the body.
You can then email your comments to 61452 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#61452
; Package
emacs
.
(Sun, 12 Feb 2023 12:36:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Philip Kaludercic <philipk <at> posteo.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 12 Feb 2023 12:36:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Tags: patch
X-Debbugs-CC: Po Lu <luangruo <at> yahoo.com>
My GCC gives me this error
--8<---------------cut here---------------start------------->8---
textconv.c: In function ‘textconv_query’:
textconv.c:281:5: error: label at end of compound statement
281 | default:
| ^~~~~~~
--8<---------------cut here---------------end--------------->8---
$ gcc --version
gcc (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
It appears it doesn't want a "default" at the end of a block. Adding a
semicolon fixes this.
In GNU Emacs 30.0.50 (build 5, x86_64-pc-linux-gnu, X toolkit, cairo
version 1.16.0, Xaw scroll bars) of 2023-01-30 built on icterid
Repository revision: e19b91f946a99aa812a21bbeff654569bad945d2
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)
Configured using:
'configure --with-imagemagick --with-x-toolkit=lucid
--with-native-compilation=aot'
[0001-src-textconv.c-textconv_query-Add-empty-statement.patch (text/patch, attachment)]
[Message part 3 (text/plain, inline)]
--
Philip Kaludercic
Reply sent
to
Philip Kaludercic <philipk <at> posteo.net>
:
You have taken responsibility.
(Tue, 14 Feb 2023 14:46:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Philip Kaludercic <philipk <at> posteo.net>
:
bug acknowledged by developer.
(Tue, 14 Feb 2023 14:46:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 61452-done <at> debbugs.gnu.org (full text, mbox):
Philip Kaludercic <philipk <at> posteo.net> writes:
> Tags: patch
>
> X-Debbugs-CC: Po Lu <luangruo <at> yahoo.com>
>
> My GCC gives me this error
>
> textconv.c: In function ‘textconv_query’:
> textconv.c:281:5: error: label at end of compound statement
> 281 | default:
> | ^~~~~~~
A similar patch has already been applied, so I am closing this report.
> $ gcc --version
> gcc (Debian 10.2.1-6) 10.2.1 20210110
> Copyright (C) 2020 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> It appears it doesn't want a "default" at the end of a block. Adding a
> semicolon fixes this.
>
> In GNU Emacs 30.0.50 (build 5, x86_64-pc-linux-gnu, X toolkit, cairo
> version 1.16.0, Xaw scroll bars) of 2023-01-30 built on icterid
> Repository revision: e19b91f946a99aa812a21bbeff654569bad945d2
> Repository branch: master
> Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
> System Description: Debian GNU/Linux 11 (bullseye)
>
> Configured using:
> 'configure --with-imagemagick --with-x-toolkit=lucid
> --with-native-compilation=aot'
--
Philip Kaludercic
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 15 Mar 2023 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 100 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.