X-Spam-Check-By: sourceware.org Date: Sun, 28 Jan 2007 13:02:04 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cygwin-1.5.23-2: /usr/include/ftw.h missing #include Message-ID: <20070128120204.GJ27843@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20070127234306 DOT GA894 AT suncomp1 DOT spk DOT agilent DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070127234306.GA894@suncomp1.spk.agilent.com> User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Jan 27 15:43, Gary Johnson wrote: > The following file, testfile.c, > > #include > > void foo(void) > { > return; > } > > compiles without error using "gcc -c testfile.c" on HP-UX 10.20, > SunOS 5.8 and Red Hat Linux 9, but on Cygwin, the following error > results: > > $ gcc -c testfile.c > In file included from testfile.c:1: > /usr/include/ftw.h:64: error: syntax error before "int" > testfile.c:3: error: syntax error before "void" Thanks, fixed in CVS. For the time being, include before including ftw.h. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/