delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/29/13:01:06

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <010e01c7ea38$d6cbd820$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <727852 DOT 30843 DOT qm AT web25003 DOT mail DOT ukl DOT yahoo DOT com> <loom DOT 20070829T182229-247 AT post DOT gmane DOT org> <loom DOT 20070829T184319-70 AT post DOT gmane DOT org>
Subject: RE: octave configure on cygwin snapshot
Date: Wed, 29 Aug 2007 18:00:16 +0100
Message-ID: <003001c7ea5e$144a0850$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <loom.20070829T184319-70@post.gmane.org>
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 29 August 2007 17:51, Eric Blake wrote:

> Eric Blake <ebb9 <at> byu.net> writes:
> 
>> As your testcase shows, the inclusion of <sys/time.h> manages to define
>> struct timezone, but then subsequent includes trigger the macro that
>> changes the spelling to _timezone, and your declarations all end up
>> referring to the incomplete type struct _timezone, hence the compiler
>> error.  So something in cygwin's headers needs to change in order to make
>> sure struct timezone is not hidden by the macro in <cygwin/time.h>.
> 
> At first, I thought the solution might be as simple as 


  It would be worth going back through the archives; IIRC, this was a recent
change made by CV in response to a PR on the list.  Any un-cautious solution
would probably just regress back the original bug...


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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