Posted by Vinnie on July 27, 1999 at 20:59:23:
I just tried compiling the testdir.cc file (along with the dir.h and dir.cc files) using g++ and I got the following errors:
abraham:~/temp$ g++ -Wall -g -o test testdir.cc dir.cc
dir.cc: In method `int DirectoryReader::GetName(char *, unsigned int)':
dir.cc:86: aggregate `struct stat Buffer' has incomplete type and cannot be initialized
dir.cc:87: confused by earlier errors, bailing out
abraham:~/temp$
I don't feel like debugging code that I didn't write, and was hoping someone would have a solution for the given code.
Thanks,
Vinnie