This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

struct stat definition not found!


Hi,

			I have a compilation error using gcc

			aggregate 'struct stat stat_buff' has incomplete type and cannot be
initialized.

I have sys/stat.h included. My worry is even there the definition of struct
stat is not found. Is that the reason of the message, or am I missing
something?

		-Kartik


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]