From: "Daniel Shahaf" <d.s@daniel.shahaf.name>
To: "Vincent Lefevre" <vincent@vinc17.net>, zsh-workers@zsh.org
Subject: Re: completions for c99
Date: Thu, 30 Apr 2020 22:17:43 +0000 [thread overview]
Message-ID: <9fddc5df-fd4a-4f24-9fb8-f69a9ce02726@www.fastmail.com> (raw)
In-Reply-To: <20200430204011.GB818727@zira.vinc17.org>
Vincent Lefevre wrote on Thu, 30 Apr 2020 20:40 +00:00:
> c99 should be added to the command list of
> "functions/Completion/Unix/_gcc".
That would cause several hundred options to be offered, but on some
systems c99(1) supports far fewer options:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/c99.html
https://www.freebsd.org/cgi/man.cgi?query=c99&manpath=FreeBSD+12.1-RELEASE
We probably need a bit of $service-specific code, to see whether c99(1) is
in fact gcc or clang, in which case we can fall back to offering all
their options, or not, in which case we should offer just the handful of
options that's in fact supported.
Anyone interested in writing the patch?
> Note: c99 is the name of the C compiler specified by POSIX.
next prev parent reply other threads:[~2020-04-30 22:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-30 20:40 Vincent Lefevre
2020-04-30 22:17 ` Daniel Shahaf [this message]
2020-05-01 0:15 ` Vincent Lefevre
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=9fddc5df-fd4a-4f24-9fb8-f69a9ce02726@www.fastmail.com \
--to=d.s@daniel.shahaf.name \
--cc=vincent@vinc17.net \
--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).