delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/29/20:54:49

X-Spam-Check-By: sourceware.org
Message-ID: <465CCB43.7040505@cox.net>
Date: Wed, 30 May 2007 00:54:27 +0000
From: Greg Chicares <chicares AT cox DOT net>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Build problems - unistd.h
References: <ee9b16d00705281855m57914fcag37e88f9a52b47315 AT mail DOT gmail DOT com> <ee9b16d00705291413j579cc046vcd3d8d8517c3f6ef AT mail DOT gmail DOT com> <ee9b16d00705291712s4b79ba95u66054f4dc66709a5 AT mail DOT gmail DOT com>
In-Reply-To: <ee9b16d00705291712s4b79ba95u66054f4dc66709a5@mail.gmail.com>
X-IsSubscribed: yes
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 2007-05-30 00:12Z, Scott Peterson wrote:
> 
> Here's the content of the intermediate file dbus-binding-tool-glib.i:

[major snip]

On 2007-05-29 02:07Z, you had written:
>
> In file included from /usr/include/unistd.h:4,
>                 from dbus-binding-tool-glib.c:39:
> /usr/include/sys/unistd.h:108: error: parse error before numeric constant

Look at line 108 of that file. In my copy, it's a prototype
for _pipe() . Now look for _pipe() in the preprocessed output:

> int __attribute__((__cdecl__)) _pipe (int __fildes[2], 4096, _O_BINARY);

Maybe that's the "parse error before numeric constant"?

What does line 108 in your /usr/include/sys/unistd.h say,
exactly? Assuming it's not corrupted, the real question is
how it got turned into the preprocessed line above.

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019