Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH} define _GNU_SOURCE on Cygwin
- X-seq: zsh-workers 39736
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: "Peter A. Castro" <doctor@xxxxxxxxxxxx>
- Subject: Re: [PATCH} define _GNU_SOURCE on Cygwin
- Date: Thu, 27 Oct 2016 01:34:38 +0000
- Cc: "Jun T." <takimoto-j@xxxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=hPhDLysIISdAa4M iGTYqHHi0iFI=; b=c8eOHiNh2iYn7Xr/sv4WjNNMMVxeGW8v1ZLAW5Rt4rn1jRJ xXofZv/3VGxhtHpwJ9lf0qPhm0j1BxscvKBMFpker+B9p5nHHbQcFF2Pofrwm8wX 82RuCrYKg92utWLuFpAooaueVbFnJzlBdZXIA0uY+3VM2BcE+AzlE1zPbQ1U=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=hPhDLysIISdAa4 MiGTYqHHi0iFI=; b=qxzhipX+GPVFcIHAOc7cD6R/u0+bheO8hmEqdTwuxRhVV0 moPGlWyUVpNO9FnB/vcX12j0KTn6aycCGEGBALwhC6SrtGYncgpOxcglRxSHcJn1 REhmCnLgvY68uYxOI9xs/VsMLcvanO/tEe0ul5aAvjtH9b0EtrzetQm0UJ36s=
- In-reply-to: <alpine.LNX.2.00.1610261248170.6490@ming.fruitbat.org>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <9E7FD5B2-061D-4ABE-84A8-A54C844E34BE@kba.biglobe.ne.jp> <20161026105652.GA14865@fujitsu.shahaf.local2> <AC3A6441-80E8-4304-A010-F2A6BAA93929@kba.biglobe.ne.jp> <alpine.LNX.2.00.1610261248170.6490@ming.fruitbat.org>
Peter A. Castro wrote on Wed, Oct 26, 2016 at 12:55:36 -0700:
> On Wed, 26 Oct 2016, Jun T. wrote:
> >Unless someone still has older cygwin can test the patch, what we
> >can do would be to either go with _GNU_SOURCE (and to see whether
> >incompatibility with older cygwin comes out or not), or just
> >continue using the current code, which generates some warnings
> >but still seems to work fine (the return value of wcwidth() is int,
> >which is what compiler assumes when no prototype is available).
>
> I'll see if I can give it a quick build and let you know.
Thanks, Peter.
I wasn't meaning to cause the two of you extra work; I had assumed
defining both _XOPEN_SOURCE and _GNU_SOURCE would work on both old and
new cygwin. I.e., just adding _GNU_SOURCE without removing
_XOPEN_SOURCE.
Cheers,
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author