delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/08/16/14:20:48

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=j/R7D/zry4aBNboC
HFqmzP1CXRLgFbg0lB3PouLCns5Ppw8OPsx3eJ47OOGh9PyiqElqao2UdlpQ9Bpq
74zz0CphXUhe23xlrEDyNTSrXwhq0uNwJtoV728moc1UwJtVZ3E6kgzDvX6oBrlO
FwCK/nfJwHxCg5wN2k9Z8pGoz3g=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=X3/upLXfLgOjafbAqmm+dx
Ozo6g=; b=QJYTaJ3rM5dYKDMeBTCndoL2N/fDkrNBqzHPGMpbwpJYdeUM6muCfO
hxg7xHRvN7ZnKv/BLiAbwQB3scfOgN4VMwTHMV5ns7Pgh7ogUiFgifOmm1TiFClH
KV0mdtQulbulOXcoSDLacaOAoZ4dsAFTvwcE47YKgl8ehAzVCbVMM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:D*cornell.edu, H*Ad:D*edu, HContent-Transfer-Encoding:8bit
X-HELO: limerock01.mail.cornell.edu
Subject: =?UTF-8?Q?Re:_/usr/include/ssp/wchar.h:78:1:_error:_unknown_type_na?= =?UTF-8?Q?me_=e2=80=98FILE=e2=80=99_=28during_cygport_package_build=29?=
To: cygwin AT cygwin DOT com
References: <95ce9d0aaca770f8e88d661cac91ce5d AT xs4all DOT nl> <f3b8dc0d-38ad-a7a5-d3bb-a8d23e9a6118 AT cornell DOT edu> <a5b5369bd971cea4274cbce67b96e8b6 AT xs4all DOT nl>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <ce86c44c-912e-cf64-2af1-8bba7e2a8a2c@cornell.edu>
Date: Thu, 16 Aug 2018 14:20:31 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <a5b5369bd971cea4274cbce67b96e8b6@xs4all.nl>
X-IsSubscribed: yes
Note-from-DJ: This may be spam

On 8/16/2018 2:11 PM, waterlan wrote:
> Ken Brown schreef op 2018-05-14 14:35:
>> On 5/13/2018 12:01 PM, waterlan wrote:
>>> Hi,
>>>
>>> I'm trying to create a new wcd package, but I get compile errors during
>>> the cygport build of the wcd package.
>>>
>>> gcc -ggdb -O2 -pipe -Wall -Werror=format-security
>>> -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong
>>> --param=ssp-buffer-size=4
>>> -fdebug-prefix-map=/cygdrive/c/Users/waterlan/src/cygwin/wcd/wcd-6.0.2-1.x86_64/build=/usr/src/debug/wcd-6.0.2-1 
>>>
>>> -fdebug-prefix-map=/cygdrive/c/Users/waterlan/src/cygwin/wcd/wcd-6.0.2-1.x86_64/src/wcd-6.0.2=/usr/src/debug/wcd-6.0.2-1 
>>>
>>> -O2 -Wall -Wextra -Wno-unused-parameter -Wconversion    -Ic3po
>>> -DVERSION=\"6.0.2\" -DVERSION_DATE=\"2018-05-10\"  -std=gnu99
>>> -DWCD_UNICODE -DWCD_UNINORM -DENABLE_NLS
>>> -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"wcd\"
>>> -I/usr/include/ncursesw -I/usr/include -DDEBUG=0 -D_LARGEFILE_SOURCE
>>> -D_FILE_OFFSET_BITS=64 -DUNIX -DWCD_USECURSES  -D_XOPEN_SOURCE
>>> -D_XOPEN_SOURCE_EXTENDED  -c wcwidth.c -o wcwidth.o
>>>
>>> In file included from /usr/include/ssp/wchar.h:5:0,
>>>                   from /usr/include/wchar.h:336,
>>>                   from wcwidth.c:62:
>>> /usr/include/ssp/wchar.h:78:1: error: unknown type name 'FILE'
>>>   __ssp_decl(wchar_t *, fgetws, (wchar_t *__restrict __buf, int __wlen,
>>> FILE *__restrict __fp))
>>
>> This is a newlib issue that has been fixed:
>>
>> https://cygwin.com/git/gitweb.cgi?p=newlib-cygwin.git;a=commitdiff;h=829820af6e5bccefe93485023e93821807fb99b8;hp=e494b560350cabef94126a4478096aae89ae35a0 
>>
>>
>> Ken
> 
> When will this newlib fix arrive in Cygwin?

It's in cygwin-2.11.0, which is already available as a test release.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019