[Rd] Compile error on src/main/platform.c (PR#11988)

From: <pnorbert_at_ornl.gov>
Date: Thu, 07 Aug 2008 11:29:49 +0200 (CEST)


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.



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 07 Aug 2008 - 12:41:19 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 07 Aug 2008 - 13:36:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive