delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/08/14:46:33

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <47FA9D04 DOT 5090803 AT alice DOT it> <7z4pacl4fl DOT fsf AT vzell-de DOT de DOT oracle DOT com> <47FB9B87 DOT 3080202 AT alice DOT it>
Subject: RE: [ITA] xfig/xfig-lib: An interactive drawing tool
Date: Tue, 8 Apr 2008 19:46:03 +0100
Message-ID: <00c701c899a8$cc0bcce0$2708a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <47FB9B87.3080202@alice.it>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Angelo Graziosi wrote on 08 April 2008 17:21:

> Dr. Volker Zell ha scritto:

>> The problem is it does not compile due to dependency on
>> 
>> #include <complex.h>
>> 
>> in w_intersect.c (which we don't have) and later on
>> 
>> w_intersect.c:884: error: syntax error before "ix1c"
>> w_intersect.c:885: error: syntax error before "iy1c"
>> w_intersect.c:886: error: syntax error before "ix2c"
>> w_intersect.c:887: error: syntax error before "iy2c"
>> w_intersect.c:891: error: `iy1c' undeclared (first use in this function)
>> w_intersect.c:891: error: (Each undeclared identifier is reported only
>> once w_intersect.c:891: error: for each function it appears in.)
>> w_intersect.c:891: error: `_Complex_I' undeclared (first use in this
>> function) w_intersect.c:892: error: `ix1c' undeclared (first use in this
>> function) w_intersect.c:894: error: `iy2c' undeclared (first use in this
>> function) w_intersect.c:895: error: `ix2c' undeclared (first use in this
>> function) 
>> 
>> Ciao
>>   Volker
> 
> Today I have played a little with it and have seen...
> 
> Cygwin does not support complex.h ???
> 
> Obviously this
> 
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/backward/complex.h
> 
> is not valid: it is from the side of C++... Uhm... We have a problem.


  There's also a C 'complex.h' defined by POSIX (that's why C++ has to supply
a backward-compat equivalent - in C++ itself, you'd use the new-style headers
that don't have the ".h" suffix), but newlib doesn't support all the features
of C99 (which is when that header was introduced).

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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