Using 'complex.h' and GCC-3.4.4-3 in Cygwin
Angelo Graziosi
Angelo.Graziosi@roma1.infn.it
Thu Jul 26 10:16:00 GMT 2007
On Cygwin, gcc-3.4.4-3 (curr) fails to compile this simple test case
(extracted by a little elaborate test) :
==================================================================
#include <stdio.h>
#include <stdint.h>
#include <complex.h>
#include <stdbool.h>
int main()
{
printf("sizeof(%s) = %ld\n", "complex float", sizeof(float complex));
return 0;
}
$ gcc test_complex_h.c
test_complex_h.c:3:21: complex.h: No such file or directory
^^^^^^^^^^^^^^^^^^^^^^^^ ???
test_complex_h.c: In function `main':
test_complex_h.c:8: error: parse error before "complex"
==================================================================
On GNU/Linux Kubunto 6.06 with gcc-4.0.3 it is build without problems.
Cheers,
Angelo.
--
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