all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Pip Cet <pipcet@protonmail.com>
Cc: "Eli Zaretskii" <eliz@gnu.org>,
	"Gerd Möllmann" <gerd.moellmann@gmail.com>,
	emacs-devel@gnu.org
Subject: Re: GCC/clang warning for Complex integers?
Date: Mon, 01 Jul 2024 21:51:53 +0800	[thread overview]
Message-ID: <87sewt5ifa.fsf@yahoo.com> (raw)
In-Reply-To: <Z31xN3jdSIhnof0KF6SYPszJrg4D8BI2suR3G5zRFq4Ri9_7rm1slnOrblPMSu1fs495RYWEBRw9T0uwqIVHjh6Vs-00GPngjcj1ZrrMGwU=@protonmail.com> (Pip Cet's message of "Mon, 01 Jul 2024 12:54:23 +0000")

Pip Cet <pipcet@protonmail.com> writes:

> That doesn't appear to work here. gcc -Wno-error=pedantic -Wpedantic does work, but causes an (easily-fixed) compilation error (I didn't know -W flags could do that!) in seccomp-filter.c, and tons of warnings about things like statement expressions:
>
> igc.c:1917:25: warning: imaginary constants are a GCC extension
>  1917 |   ssize_t count_total = 0i;
>       |                         ^~

This is a preprocessor warning, IIRC, only activated when -Wpedantic.



  reply	other threads:[~2024-07-01 13:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-01  8:40 GCC/clang warning for Complex integers? Gerd Möllmann
2024-07-01 11:55 ` Eli Zaretskii
2024-07-01 12:54   ` Pip Cet
2024-07-01 13:51     ` Po Lu [this message]
2024-07-01 14:31       ` Gerd Möllmann

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

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

  git send-email \
    --in-reply-to=87sewt5ifa.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=gerd.moellmann@gmail.com \
    --cc=pipcet@protonmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.