You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2019/09/02 15:21:00 UTC
[jira] [Created] (ARROW-6415) [R] Remove usage of R CMD config
CXXCPP
Neal Richardson created ARROW-6415:
--------------------------------------
Summary: [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
Fix For: 0.15.0
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)