From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96557 invoked by alias); 14 May 2018 12:35:21 -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 96541 invoked by uid 89); 14 May 2018 12:35:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1523 X-HELO: limerock02.mail.cornell.edu Received: from limerock02.mail.cornell.edu (HELO limerock02.mail.cornell.edu) (128.84.13.242) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 14 May 2018 12:35:19 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite3.serverfarm.cornell.edu [10.16.197.8]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id w4ECZHgv005061 for ; Mon, 14 May 2018 08:35:17 -0400 Received: from [192.168.0.15] (mta-68-175-129-7.twcny.rr.com [68.175.129.7] (may be forged)) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id w4ECZGJB015595 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Mon, 14 May 2018 08:35:17 -0400 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@cygwin.com References: <95ce9d0aaca770f8e88d661cac91ce5d@xs4all.nl> From: Ken Brown Message-ID: Date: Mon, 14 May 2018 12:40:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <95ce9d0aaca770f8e88d661cac91ce5d@xs4all.nl> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes X-SW-Source: 2018-05/txt/msg00177.txt.bz2 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 -- 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