This is the mail archive of the
cygwin
mailing list for the Cygwin project.
error: field 'st_atim' has incomplete type
- From: Vinay <post2vinay at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 26 Jun 2012 13:16:41 +0000 (UTC)
- Subject: error: field 'st_atim' has incomplete type
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