Menu

#928 Can't build using cygwin on winxp

open
nobody
parser (295)
5
2005-05-15
2005-05-15
No

Here's the patch to get past the compiler error.

thanks,
dims

Index: src/option.cpp

RCS file: /cvsroot/jikes/jikes/src/option.cpp,v
retrieving revision 1.87
diff -u -r1.87 option.cpp
--- src/option.cpp 10 Oct 2004 23:17:44 -0000
1.87
+++ src/option.cpp 15 May 2005 03:02:13 -0000
@@ -1119,8 +1119,12 @@
OStringStream path;
const char* sep = "";
for (dirent* entry = readdir(dir); entry !=
NULL; entry = readdir(dir))
- {
- if (entry -> d_type = DT_REG &&
+ {
+#ifdef _DIRENT_HAVE_D_TYPE
+ if (entry -> d_type = DT_REG &&
+#else
+ if (
+#endif
CStringEndsWith(entry -> d_name, ".jar"))
{
path << sep << classes_directory <<
'/' << entry -> d_name;

Discussion

  • Davanum Srinivas

    • summary: Can't build in cygwin on winxp --> Can't build using cygwin on winxp
     
  • Davanum Srinivas

    Logged In: YES
    user_id=215478

    Did anyone take a look at this?

    thanks,
    dims

     
  • Davanum Srinivas

    Logged In: YES
    user_id=215478

    It's been 6+ months, can someone please help with this
    patch?

    thanks,
    dims

     

Log in to post a comment.

MongoDB Logo MongoDB