From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25785 invoked by alias); 16 Aug 2018 18:11:49 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 25233 invoked by uid 89); 16 Aug 2018 18:11:48 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1712, Hx-spam-relays-external:ESMTPA X-HELO: lb3-smtp-cloud8.xs4all.net Received: from lb3-smtp-cloud8.xs4all.net (HELO lb3-smtp-cloud8.xs4all.net) (194.109.24.29) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 16 Aug 2018 18:11:45 +0000 Received: from roundcube.xs4all.nl ([IPv6:2001:888:0:22:194:109:20:213]) by smtp-cloud8.xs4all.net with ESMTPA id qMkJfdjQkoj71qMkJfJUO0; Thu, 16 Aug 2018 20:11:43 +0200 Received: from 2001:981:e138:1:a0d1:1a6b:a63e:b8b7 by roundcube.xs4all.nl with HTTP (HTTP/1.1 POST); Thu, 16 Aug 2018 20:11:43 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 16 Aug 2018 19:20:00 -0000 From: waterlan To: cygwin@cygwin.com Subject: =?UTF-8?Q?Re=3A_/usr/include/ssp/wchar=2Eh=3A78=3A1=3A_error=3A_?= =?UTF-8?Q?unknown_type_name_=E2=80=98FILE=E2=80=99_=28during_cygport_pack?= =?UTF-8?Q?age_build=29?= In-Reply-To: References: <95ce9d0aaca770f8e88d661cac91ce5d@xs4all.nl> Message-ID: X-Sender: waterlan@xs4all.nl User-Agent: XS4ALL Webmail X-IsSubscribed: yes X-SW-Source: 2018-08/txt/msg00207.txt.bz2 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? regards, -- Erwin Waterlander http://waterlan.home.xs4all.nl/ -- 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