This is the mail archive of the
mailing list for the Cygwin project.
Re: Complex.h file
- From: René Berber <r dot berber at computer dot org>
- To: cygwin at cygwin dot com
- Date: Sat, 19 Nov 2005 11:43:37 -0600
- Subject: Re: Complex.h file
- Openpgp: url=ldap://keyserver.pgp.com
- References: <email@example.com>
-----BEGIN PGP SIGNED MESSAGE-----
John Coppens wrote:
> complex.h is not found.
> A search in the cygwin tree reveals:
Easy way out: add the -mno-cygwin parameter to CFLAGS. That means "use mingw
headers and libraries" to produce a windows only executable (no cygwin dll
dependencies); this will work if the package you are compiling doesn't depend on
libraries not supplied by mingw.
> But, as I use gcc, and normal c (not c++), I suspect none of these are
> seen. On my Linux machine, all compiles well (same gcc version).
> The compiler complains about the missing complex.h and about the complex
> type in a file, even though I read gcc has complex C-99 support built-in
> since 3.4.1
I'm not sure about the standard, but complex is defined in libstdc++ wich is c++
not c, and I don't have it in gcc 3.4.4 only on 4.0.2 (not distributed with
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html