delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/06/26/09:21:04

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
From: Vinay <post2vinay AT gmail DOT 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
User-Agent: Loom/3.14 (http://gmane.org/)
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

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

- Raw text -


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