X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-5.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <loom.20120626T151207-115@post.gmane.org> References: <loom DOT 20120626T151207-115 AT post DOT gmane DOT org> Date: Tue, 26 Jun 2012 09:54:30 -0400 Message-ID: <CA+sc5mk1ANCfiXanHtq5V+F4AnYLQd_Fh3+Z8Df3TCTuPH6e6w@mail.gmail.com> Subject: Re: error: field 'st_atim' has incomplete type From: Earnie Boyd <earnie AT users DOT sourceforge DOT net> To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk 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 Tue, Jun 26, 2012 at 9:16 AM, Vinay wrote: > 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? We have no idea since you didn't give a sample code. -- Earnie -- https://sites.google.com/site/earnieboyd -- 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