X-Spam-Check-By: sourceware.org Date: Thu, 26 Jul 2007 12:16:51 +0200 (MET DST) From: Angelo Graziosi <Angelo DOT Graziosi AT roma1 DOT infn DOT it> To: cygwin AT cygwin DOT com Subject: Using 'complex.h' and GCC-3.4.4-3 in Cygwin Message-ID: <Pine.OSF.4.58.0707261210050.23382@ax0rm1.roma1.infn.it> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: <cygwin.cygwin.com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/