From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116838 invoked by alias); 13 May 2018 16:01:23 -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 116666 invoked by uid 89); 13 May 2018 16:01:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=UD:nl, H*c:alternative, Hx-spam-relays-external:ESMTPA X-HELO: lb1-smtp-cloud8.xs4all.net Received: from lb1-smtp-cloud8.xs4all.net (HELO lb1-smtp-cloud8.xs4all.net) (194.109.24.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 13 May 2018 16:01:05 +0000 Received: from roundcube.xs4all.nl ([IPv6:2001:888:0:22:194:109:20:203]) by smtp-cloud8.xs4all.net with ESMTPA id HtQkfcAH4JwIgHtQkfGtqn; Sun, 13 May 2018 18:01:02 +0200 Received: from 2001:981:e138:1:d52a:9c82:289:c38e by roundcube.xs4all.nl with HTTP (HTTP/1.1 POST); Sun, 13 May 2018 18:01:02 +0200 MIME-Version: 1.0 Date: Sun, 13 May 2018 17:06:00 -0000 From: waterlan To: cygwin@cygwin.com Subject: =?UTF-8?Q?/usr/include/ssp/wchar=2Eh=3A78=3A1=3A_error=3A_unknow?= =?UTF-8?Q?n_type_name_=E2=80=98FILE=E2=80=99_=28during_cygport_package_bu?= =?UTF-8?Q?ild=29?= Message-ID: <95ce9d0aaca770f8e88d661cac91ce5d@xs4all.nl> X-Sender: waterlan@xs4all.nl User-Agent: XS4ALL Webmail X-CMAE-Envelope: MS4wfI3k7L1b11cJqiAGDttDNraqlBzcdodJh4V78jmnXXfWdeMnpQCxPNy0UWlabxlnIERW02JMRUTkNrzdnPcxmnyLGUk+/D4lFFZaV3xFqF7Kp4jvtFLW SB48dAnSGqtzjv/BbH6lEA91yGXK0LFtWiIsV3colJdWdNziImJAl1dNJeSEN23aeQ0LPgJyFZ+EJKkqExTHBfCtLd6Edqc3APU= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-05/txt/msg00169.txt.bz2 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)) ^ The C flag that triggers this option is -Wp,-D_FORTIFY_SOURCE=2. When I remove this flag the compilation goes OK. 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