X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References: <47FA9D04.5090803@alice.it> <7z4pacl4fl.fsf@vzell-de.de.oracle.com> <47FB9B87.3080202@alice.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
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <47FB9B87.3080202@alice.it>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

