X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.0 required=5.0	tests=BAYES_40,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SARE_SUB_ENC_UTF8,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Vinay <post2vinay@gmail.com>
Subject: error: field =?utf-8?b?J3N0X2F0aW0n?= has incomplete type
Date: Tue, 26 Jun 2012 13:16:41 +0000 (UTC)
Lines: 18
Message-ID: <loom.20120626T151207-115@post.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

I am trying to compile a native linux application in windows using 
cygwin(CYGWIN_NT-6.1-WOW64 ).

But I am faced with strange error below

/usr/include/cygwin/stat.h:72:17: error: field 'st_atim' has incomplete type
/usr/include/cygwin/stat.h:73:17: error: field 'st_mtim' has incomplete type
/usr/include/cygwin/stat.h:74:17: error: field 'st_ctim' has incomplete type
/usr/include/cygwin/stat.h:77:17: error: field 'st_birthtim' has incomplete type

The error is persistant even after including time.h, types.h and stat.h
I tried various order of include files. None yielded any fruitful result.

It seems the declaraion of the st_atim is not included with some conditional 
compile directive, can anyone has any idea on this?

Regards
Vinay


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

