delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/22/21:18:08

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <4796A3BC.3060001@niwa.co.nz>
Date: Wed, 23 Jan 2008 15:17:32 +1300
From: Mark Hadfield <m DOT hadfield AT niwa DOT co DOT nz>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: Cygwin Mailing List <cygwin AT cygwin DOT com>
Subject: HDF5 and timezone
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (blizzard.niwa.co.nz [192.168.17.3]); Wed, 23 Jan 2008 15:17:28 +1300 (NZDT)
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

Building HDF5 (either the recently released RC1 or the previous beta 5)
under Cygwin fails with

gcc -DHAVE_CONFIG_H -I. -DNDEBUG -UH5_DEBUG_API -std=c99 -pedantic -Wall 
-Wextra -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual 
-Wcast-align -Wwrite-strings -Wconversion -Wsign-compare 
-Waggregate-return -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline 
-Wno-long-long -Wfloat-equal -Wmissing-format-attribute 
-Wmissing-noreturn -Wpacked -Wdisabled-optimization -Wmultichar 
-Wendif-labels -Wdeclaration-after-statement -Wold-style-definition 
-Winvalid-pch -O -fomit-frame-pointer -finline-functions -MT H5Omtime.lo 
-MD -MP -MF .deps/H5Omtime.Tpo -c H5Omtime.c -o H5Omtime.o
H5Omtime.c: In function `H5O_mtime_decode':
H5Omtime.c:194: warning: implicit declaration of function `tzset'
H5Omtime.c:194: warning: nested extern declaration of `tzset'
H5Omtime.c:230: error: `timezone' undeclared (first use in this function)
H5Omtime.c:230: error: (Each undeclared identifier is reported only once
H5Omtime.c:230: error: for each function it appears in.)

Back on 27 November 2007 I built beta 5 with no problems.

Is this likely to be related to the new Cygwin versions released in 
December? I can see some discussion of timezone and tzset on the list 
archives in the last couple of months, but don't know whether they 
relate to my problem.

I generally keep my Cygwin installation up to data and right now I have

$ cygcheck -c cygwin

Cygwin Package Information
Package              Version        Status
cygwin               1.5.25-7       OK



-- 
Mark Hadfield          "Ka puwaha te tai nei, Hoea tahi tatou"
m DOT hadfield AT niwa DOT co DOT nz
National Institute for Water and Atmospheric Research (NIWA)




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