Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-6415

[R] Remove usage of R CMD config CXXCPP

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.15.0
    • R

    Description

      From email from BDR at CRAN:

      "R CMD config CXXCPP has been deprecated: it is not used by R itself and
      there are several things wrong with the standard autoconf detection code:

      • If CXXCPP is set by the user, it is not tested. It could be empty,
        which AFAICS none of you allow for.
      • The code looks at $CXX -E and /lib/cpp in turn, and tests a system C
        header without consulting CPPFLAGS. /lib/cpp is unlikely to find C++
        headers, and we have seen instances where without CPPFLAGS it did not
        find C headers.
      • It is the setting for the default C++ compiler, in R-devel C++11 but
        not specified in earlier R (even 3.6.x could be C++98).

      It would be better to use $(CXX) -E (or $(CXX11) etc) or test for yourself.

      Please change at the next package update."

      Attachments

        Issue Links

          Activity

            People

              npr Neal Richardson
              npr Neal Richardson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h