You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Sutou Kouhei (Jira)" <ji...@apache.org> on 2019/09/04 01:27:00 UTC

[jira] [Resolved] (ARROW-6415) [R] Remove usage of R CMD config CXXCPP

     [ https://issues.apache.org/jira/browse/ARROW-6415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sutou Kouhei resolved ARROW-6415.
---------------------------------
    Resolution: Fixed

Issue resolved by pull request 5266
[https://github.com/apache/arrow/pull/5266]

> [R] Remove usage of R CMD config CXXCPP
> ---------------------------------------
>
>                 Key: ARROW-6415
>                 URL: https://issues.apache.org/jira/browse/ARROW-6415
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Neal Richardson
>            Assignee: Neal Richardson
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 0.15.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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."



--
This message was sent by Atlassian Jira
(v8.3.2#803003)