pnorbert at ornl.gov
2008-Aug-07 09:29 UTC
[Rd] Compile error on src/main/platform.c (PR#11988)
Full_Name: Norbert Podhorszki Version: 2.7.0 OS: RHEL4 Submission from: (NULL) (160.91.210.37) Using PGI 6.2.5 compiler instead of gcc, there is no HAVE_GLOB defined for compilation (on our machine). The function do_unlink(...) in src/main/platform.c (lines 1368-1410) will have an unclosed if statement in this case. The #if defined(HAVE_GLOB) ... #else /* HAVE_GLOB */ failures += R_unlink(names, recursive); #endif condition starts inside an if statement, which is closed in the #if part and not in the #else part. It is the same for v2.7.1, too.