delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/28/03:49:04

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type
:content-transfer-encoding; q=dns; s=default; b=urCH39M8RuZoXEoy
UzBHflhTDvTiWDkp5DTsrIi7P9o197+0R2tXvV8oBrbBmcjG0Iorsx5iciPLwIDy
wYYU1BWI098UzP60n7UR/33j7I6VafEc7K5FhGoUKay/jOMISFiwUmcK0dzysqLQ
IRaSZCFzM6UWaO4XQWMPgron0tw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type
:content-transfer-encoding; s=default; bh=vUz7QNGufw42xa+l0diT8E
vhgYk=; b=hp+3AHSQpVZT86Btvb4uiQXcwJFa9UuJ50AzoQGgKrEFi7UTqsdTY0
3ThUzzo4Lqz3pgZfGD69YalYRlk3esd7HqunNINsNYpUF2yU9MoaRlIJQflz6HCU
p7M5bqWlC+grIWAJ8wfD8Zq8YMIWQKJcNb0B/kB43mWfJcGD7TDVs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
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)
In-Reply-To: <20140213164244.GA5629@akk.org>
References: <20140213164244 DOT GA5629 AT akk DOT org>
Date: Fri, 28 Feb 2014 17:48:39 +0900
Message-ID: <CAPYQg33ZQav2rewMX5ckDYG2mp7TgOPfGjH9zoOrDaxrkVcAng@mail.gmail.com>
Subject: Re: patch for (clang) problem on Cygwin 1.7.28(0.271/5/3) i686
From: KIMURA Masaru <hiyuh DOT root AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s1S8mv8A028220

Hi,

2014-02-14 1:42 GMT+09:00 Urs Janßen :
> 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=c99 -pedantic -W -Wall -Wextra -Wcast-align   -D_XOPEN_SOURCE=600
> --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 '__UINT16_TYPE__'
> typedef __UINT16_TYPE__ __uint16_t;
>         ^
> /usr/include/machine/_default_types.h:56:9: error: unknown type name '__UINT32_TYPE__'
> typedef __UINT32_TYPE__ __uint32_t;
>         ^
> /usr/include/machine/_default_types.h:78:9: error: unknown type name '__UINT64_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 <curses.h>
> 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 present
> 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019