My project was compiling and running fine until I added the Time.h library. Now it does not compile.
This post says you should never have a file called time.h due to naming conflicts.
http://stackoverflow.com/questions/14947691/c-system-file-bits-stat-h-suddenly-b... Here are my errors: (thank you for your help)
Compiling 'EdisonAzure' for 'IntelĀ® Edison'
fcntl.h:In file included from
fast_gpio_common.c:from
stat.h:91:21: error: field 'st_atim' has incomplete type
:struct timespec st_atim; \* Time of last access. *\
:^
stat.h:92:21: error: field 'st_mtim' has incomplete type
:struct timespec st_mtim; \* Time of last modification. *\
:^
stat.h:93:21: error: field 'st_ctim' has incomplete type
:struct timespec st_ctim; \* Time of last status change. *\
:^
fcntl.h:In file included from
variant.cpp:from
stat.h:91:21: error: field 'st_atim' has incomplete type
:struct timespec st_atim; \* Time of last access. *\
:^
stat.h:92:21: error: field 'st_mtim' has incomplete type
:struct timespec st_mtim; \* Time of last modification. *\
:^
stat.h:93:21: error: field 'st_ctim' has incomplete type
:struct timespec st_ctim; \* Time of last status change. *\
:^
stat.h:152:21: error: field 'st_atim' has incomplete type
:struct timespec st_atim; \* Time of last access. *\
:^
stat.h:153:21: error: field 'st_mtim' has incomplete type
:struct timespec st_mtim; \* Time of last modification. *\
:^
stat.h:154:21: error: field 'st_ctim' has incomplete type
:struct timespec st_ctim; \* Time of last status change. *\
:^
Error compiling core