From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 728 invoked by alias); 28 Feb 2014 08:48:44 -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 714 invoked by uid 89); 28 Feb 2014 08:48:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qa0-f45.google.com Received: from mail-qa0-f45.google.com (HELO mail-qa0-f45.google.com) (209.85.216.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 28 Feb 2014 08:48:42 +0000 Received: by mail-qa0-f45.google.com with SMTP id hw13so361732qab.4 for ; Fri, 28 Feb 2014 00:48:40 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.224.60.134 with SMTP id p6mr1940998qah.98.1393577319877; Fri, 28 Feb 2014 00:48:39 -0800 (PST) Received: by 10.229.12.73 with HTTP; Fri, 28 Feb 2014 00:48:39 -0800 (PST) In-Reply-To: <20140213164244.GA5629@akk.org> References: <20140213164244.GA5629@akk.org> Date: Fri, 28 Feb 2014 09:38:00 -0000 Message-ID: Subject: Re: patch for (clang) problem on Cygwin 1.7.28(0.271/5/3) i686 From: KIMURA Masaru To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00734.txt.bz2 Hi, 2014-02-14 1:42 GMT+09:00 Urs Jan=DFen : > Here's a log-entry from a configure (autoconf) script (when looking for > ncursesw): > > configure:9503: clang -c -g -I/usr/lib/gcc/i686-pc-cygwin/4.8.2/include -= O0 > -std=3Dc99 -pedantic -W -Wall -Wextra -Wcast-align -D_XOPEN_SOURCE=3D600 > --I/usr/include/ncursesw conftest.c 1>&5 > In file included from configure:9497: > In file included from /usr/include/ncursesw/curses.h:147: > In file included from /usr/include/stdio.h:35: > In file included from /usr/include/sys/cdefs.h:43: > /usr/include/machine/_default_types.h:28:9: error: unknown type name /'__= UINT8_TYPE__' > typedef __UINT8_TYPE__ __uint8_t; > ^ > /usr/include/machine/_default_types.h:38:9: error: unknown type name '__U= INT16_TYPE__' > typedef __UINT16_TYPE__ __uint16_t; > ^ > /usr/include/machine/_default_types.h:56:9: error: unknown type name '__U= INT32_TYPE__' > typedef __UINT32_TYPE__ __uint32_t; > ^ > /usr/include/machine/_default_types.h:78:9: error: unknown type name '__U= INT64_TYPE__' > typedef __UINT64_TYPE__ __uint64_t; > ^ > configure:9499:12: warning: implicit declaration of function 'tgoto' is > invalid in C99 [-Wimplicit-function-declaration] > initscr(); tgoto("?", 0,0) > ^ > 1 warning and 4 errors generated. > configure: failed program was: > #line 9496 "configure" > #include "confdefs.h" > #include > int main() { > initscr(); tgoto("?", 0,0) > ; return 0; } > > > After applying the attched patch, configure runs as expected. I'm not sure > if it's the right approach to fix the issue. IIRC the issue was not prese= nt > in cygwin 1.7.27. SAME HERE(TM) # im also waiting llvm/clang bump, 3.1 looks too old... # at least current 3.1-3 packages should be fixed w/ following patch... # http://sourceforge.net/p/cygwin-ports/mailman/message/31716912/ -- 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