Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Where is `_' defined?
- X-seq: zsh-workers 44822
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: Where is `_' defined?
- Date: Fri, 11 Oct 2019 13:50:37 +0200
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=LcQIxNknDzVedFp25hlhAJGpWknBwbKUQY/FL9+NYNg=; b=AlUNAaOLw6MS0Dn7xiEt5O/sweY044qnrk3PCWlj5/0r46cZxJ1G8LgxKbt6ThYjyl J0R2sRofYCBYwgZBSdrHp3ODFKH/pAwvhBxNJPnMacDEAZm4letzuBBBvwTg+5PTggVq N/Q8yhBs4Zi3SLLH+EkKjsbDo4yWa2dbKmYikkhWR2oe9Ol0ICH1RGG09HwDPVkPud5h K0qk2DVsxDgITuvpX23dVrsaH1syZ033pR9cfhAwwaKg+brRtJ+uxRl/pvyZx1KkebZr DVgpQ9zYJrXGol3DIqJ9cY8LEcVdyWZl7A//senq+Z+c6Fy1lo5IhMGBFs8B2UNualAS lLXw==
- In-reply-to: <1570793415.3825.5.camel@samsung.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CGME20191011111614epcas2p2cccbf90d40bd33adca6b0a772247346b@epcas2p2.samsung.com> <CAKc7PVCyt3N2pFNrqKbSy6YNEeE9712UC3Xf9pyMnwmUkR90ag@mail.gmail.com> <1570793415.3825.5.camel@samsung.com>
On Fri, 11 Oct 2019 at 13:31, Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
>
> On Fri, 2019-10-11 at 13:15 +0200, Sebastian Gniazdowski wrote:
> > Hello,
> > I'm trying to compile a part of Zsh. I'm getting the following error:
> >
> > zsh.h:631:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_’
> > typedef void (*voidvoidfnptr_t) _((void));
> >
> > Trying to find where the underscore is defined is boundary to a
> > miracle. Could anyone help?
>
> That's part of the system that fixes up prototypes for K&R C,
> which I think is actually redundant by some number of decades.
> See zsh_system.h.
>
>
> #ifdef PROTOTYPES
> # define _(Args) Args
> #else
> # define _(Args) ()
> #endif
>
>
> pws
Thanks
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author