From: waterlan <waterlan@xs4all.nl>
To: cygwin@cygwin.com
Subject: Re: /usr/include/ssp/wchar.h:78:1: error: unknown type name ‘FILE’ (during cygport package build)
Date: Thu, 16 Aug 2018 19:20:00 -0000 [thread overview]
Message-ID: <a5b5369bd971cea4274cbce67b96e8b6@xs4all.nl> (raw)
In-Reply-To: <f3b8dc0d-38ad-a7a5-d3bb-a8d23e9a6118@cornell.edu>
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
next prev parent reply other threads:[~2018-08-16 18:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-13 17:06 waterlan
2018-05-13 17:07 ` Hans-Bernhard Bröker
2018-05-13 20:04 ` Achim Gratz
2018-05-14 12:40 ` Ken Brown
2018-08-16 19:20 ` waterlan [this message]
2018-08-16 19:25 ` Ken Brown
2018-08-16 23:34 ` waterlan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a5b5369bd971cea4274cbce67b96e8b6@xs4all.nl \
--to=waterlan@xs4all.nl \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).