| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Date: | Sun, 28 Jan 2007 13:02:04 +0100 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: cygwin-1.5.23-2: /usr/include/ftw.h missing #include <features.h> |
| 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 |
| 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 |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Jan 27 15:43, Gary Johnson wrote:
> The following file, testfile.c,
>
> #include <ftw.h>
>
> 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 <sys/cdefs.h>
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |