Re: Using 'complex.h' and GCC-3.4.4-3 in Cygwin

2007-07-26 Thread David A. Case
On Thu, Jul 26, 2007, Greg Chicares wrote: > > $ gcc test_complex_h.c > > test_complex_h.c:3:21: complex.h: No such file or directory > > I suppose newlib doesn't provide a full C99 implementation yet. I've had good luck with the c9x-complex package: http://www.moshier.net/c9x_readme.html

Re: Using 'complex.h' and GCC-3.4.4-3 in Cygwin

2007-07-26 Thread Greg Chicares
On 2007-07-26 10:16Z, Angelo Graziosi wrote: > On Cygwin, gcc-3.4.4-3 (curr) fails to compile this simple test case [...] > $ gcc test_complex_h.c > test_complex_h.c:3:21: complex.h: No such file or directory I suppose newlib doesn't provide a full C99 implementation yet. This message would seem t

Using 'complex.h' and GCC-3.4.4-3 in Cygwin

2007-07-26 Thread Angelo Graziosi
On Cygwin, gcc-3.4.4-3 (curr) fails to compile this simple test case (extracted by a little elaborate test) : == #include #include #include #include int main() { printf("sizeof(%s) = %ld\n", "complex float", sizeof(float co