unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: 61452-done@debbugs.gnu.org
Subject: bug#61452: [PATCH] ; * src/textconv.c (textconv_query): Add empty statement
Date: Tue, 14 Feb 2023 14:45:36 +0000	[thread overview]
Message-ID: <875yc45mr3.fsf@posteo.net> (raw)
In-Reply-To: <874jrrxdsf.fsf@posteo.net> (Philip Kaludercic's message of "Sun,  12 Feb 2023 12:34:56 +0000")

Philip Kaludercic <philipk@posteo.net> writes:

> Tags: patch
>
> X-Debbugs-CC: Po Lu <luangruo@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





      reply	other threads:[~2023-02-14 14:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-12 12:34 bug#61452: [PATCH] ; * src/textconv.c (textconv_query): Add empty statement Philip Kaludercic
2023-02-14 14:45 ` Philip Kaludercic [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875yc45mr3.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=61452-done@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).