delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/28/22:40:56

X-Spam-Check-By: sourceware.org
Message-ID: <465B92EA.58913024@dessent.net>
Date: Mon, 28 May 2007 19:41:46 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Build problems - unistd.h
References: <ee9b16d00705281855m57914fcag37e88f9a52b47315 AT mail DOT gmail DOT com> <ee9b16d00705281907x7a190deep40f0fa5e4b6aae89 AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
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

Scott Peterson wrote:

> I'm building dbus-glib from source and I get this error when I make:
> 
> 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
> 
> Ideas?

There's not enough information here to really be able say much, but if I
had to guess I'd say that something included prior to that header has
polluted the macro namespace.  This is easy enough to check by just
looking at the preprocessed source.

Brian

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