[ITA] xfig/xfig-lib: An interactive drawing tool

Dave Korn dave.korn@artimi.com
Tue Apr 8 18:47:00 GMT 2008


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/



More information about the Cygwin mailing list