From: "Jun T." <takimoto-j@kba.biglobe.ne.jp>
To: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: PATCH: zle -f from inside widget to set flags and make yank start/end zle params writable
Date: Fri, 2 Oct 2015 17:09:19 +0900 [thread overview]
Message-ID: <5E5C5064-FD62-44B8-B6B0-02FB5A70BC30@kba.biglobe.ne.jp> (raw)
In-Reply-To: <CAHYJk3SfhQ89MO-MmZbiU43SrtKOajPLw8TwugYpmquRjxmV0A@mail.gmail.com>
I've been using clang, but if I switch to gcc I get another warning:
zle_thingy.c:671: warning: ‘zle_usable’ was used with no prototype before its definition
Sorry for not reporting this with the previous one, but anyway
this can be stopped by using func(void) instead of func():
static int
zle_usable(void)
On 2015/10/02, at 4:43, Mikael Magnusson <mikachu@gmail.com> wrote:
> I didn't realize configure
> doesn't enable any warnings by default.
configure adds -Wall -Wmissing-prototypes to CFLAGS only if CFLAGS
is not specified by the user (lines 474 and below in configure.ac).
I guess you specify CFLAGS by yourself (in environment?); then
you need to explicitly include -Wxxx in CFLAGS.
next prev parent reply other threads:[~2015-10-02 8:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-29 4:43 PATCH: Make yank " Mikael Magnusson
2015-09-29 4:43 ` PATCH: Add a much simpler alternative to using url-quote-magic + bracketed-paste-magic Mikael Magnusson
2015-09-29 18:09 ` PATCH: Make yank zle params writable Mikael Magnusson
2015-09-30 1:15 ` Mikael Magnusson
2015-09-30 2:06 ` PATCH: zle -f from inside widget to set flags and make yank start/end " Mikael Magnusson
2015-10-01 15:33 ` Jun T.
2015-10-01 19:43 ` Mikael Magnusson
2015-10-02 8:09 ` Jun T. [this message]
2015-10-02 18:43 ` Mikael Magnusson
2015-10-02 19:58 ` Jun T.
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=5E5C5064-FD62-44B8-B6B0-02FB5A70BC30@kba.biglobe.ne.jp \
--to=takimoto-j@kba.biglobe.ne.jp \
--cc=zsh-workers@zsh.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.vuxu.org/mirror/zsh/
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 NNTP newsgroup(s).