This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Where is complex.h

Christopher Faylor wrote:
On Mon, Jul 24, 2006 at 05:00:37PM -0400, Larry Hall (Cygwin) wrote:
TV JOE wrote:
I've a C program referencing complex.h.  But make can't find it and the
only copy I see is in /usr/include/mingw which I don't think is the
right version.  Advice welcomed.

That will tell you what packages have complex.h in them.  I expect you
can reasonably narrow down from there the package you need and how to
get at the file you want.

I don't think that there is any cygwin package which provides a usable complex.h is there? I don't see one from the above list and, if one was going to exist, it should come from newlib -- which doesn't seem to be the case.

I did find these: (cygwin-1.5.21-1) cygwin-1.5.21-1/newlib/libc/sys/linux/include/complex.h (gcc-g++-3.4.4-2) usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/backward/complex.h usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/complex

Now that I noticed the third one, the second one makes sense; it is probably a wrapper complaining that you should '#include <complex>'. However those are C++ headers, not C headers.

The first one does have "newlib" in the path, for whatever that's worth.

Warning: This message has not been approved by the FDA.

-- Unsubscribe info: Problem reports: Documentation: FAQ:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]