From: Vinay <post2vinay@gmail.com>
To: cygwin@cygwin.com
Subject: error: field 'st_atim' has incomplete type
Date: Tue, 26 Jun 2012 13:20:00 -0000 [thread overview]
Message-ID: <loom.20120626T151207-115@post.gmane.org> (raw)
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
next reply other threads:[~2012-06-26 13:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-26 13:20 Vinay [this message]
2012-06-26 13:54 ` Earnie Boyd
2012-06-26 14:15 ` Christopher Faylor
2012-06-26 14:28 ` Vinay
2012-06-26 14:42 ` Christopher Faylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20120626T151207-115@post.gmane.org \
--to=post2vinay@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).