Re: G++ Compiler Barfs at the provided code


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]

Posted by hussein on July 27, 1999 at 21:22:01:

In Reply to: G++ Compiler Barfs at the provided code posted by Vinnie on July 27, 1999 at 20:59:23:

hi

heres a quick fix that should work (i tested it on GCC 2.7) :

1. change the constant in the last line of dir.cc to "S_IFDIR" instead of "_S_IFDIR"

2. include the file "" for unix systems at the top of dir.h ... as follows


#ifdef WIN32
#include
#include
#include
#include
#else
#include
#include
#include
#endif

---

hussein


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]