Displaying 9 results from an estimated 9 matches for "cxx11std".
2019 Sep 04
2
possible bug in R's configure check for C++11 features
...t; \
FC="$F77" \
CFLAGS="-Wall -mtune=amdfam10 -g -O2 -I${CONDA_PREFIX}/include"\
CXXFLAGS="-Wall -mtune=amdfam10 -g -O2 -I${CONDA_PREFIX}/include" \
F77FLAGS="-Wall -g -O2 -mtune=amdfam10 -I${CONDA_PREFIX}/include" \
CXX11="g++" \
CXX11STD="-std=c++11" \
CXX11FLAGS="-Wall -mtune=amdfam10 -g -O2 -I${CONDA_PREFIX}/include" \
CXX11PICFLAGS="-fPIC" \
Where $CONDA_PREFIX is given in my script.
The output in config.log is given below. Note that in the test for c++98,
it uses the "right" CC, b...
2017 Apr 19
0
R 3.4 has broken C++11 support
...g++
CXXCPP = $(CXX) -E
CXXFLAGS = -ggdb -pipe -Wall -pedantic $(LTO)
CXXPICFLAGS = -fpic
CXX98 = ccache g++
CXX98FLAGS = -ggdb -pipe -Wall -pedantic
CXX98PICFLAGS = -fpic
CXX98STD = -std=gnu++98
CXX11 = ccache g++
CXX11FLAGS = -ggdb -pipe -Wall -pedantic
CXX11PICFLAGS = -fpic
CXX11STD = -std=gnu++11
CXX14 = ccache g++
CXX14FLAGS = -ggdb -pipe -Wall -pedantic
CXX14PICFLAGS = -fpic
CXX14STD =
CXX17 =
CXX17FLAGS =
CXX17PICFLAGS =
CXX17STD =
I call configure in build shell script (which has not changed in years) with
R_PAPERSIZE=letter \
R_BATCHSAVE=&q...
2017 Jun 03
3
cygwin1.dll problems when installing packages from source
...another cygwin DLL.
make: *** [Models/Bart/LogitBartModel.o] Error 127
Warning: running command 'make -f "Makevars" -f
"C:/R/R-34~1.0/etc/i386/Makeconf" -f
"C:/R/R-34~1.0/share/make/winshlib.mk" -f
"C:/Users/john/Documents/.R/Makevars" CXX='$(CXX11) $(CXX11STD)'
CXXFLAGS='$(CXX11FLAGS)' CXXPICFLAGS='$(CXX11PICFLAGS)'
SHLIB_LDFLAGS='$(SHLIB_CXX11LDFLAGS)' SHLIB_LD='$(SHLIB_CXX11LD)'
SHLIB="Boom.dll" ' had status 2
ERROR: compilation failed for package 'Boom'
* removing 'C:/RownLib/Boom'
* r...
2017 Jun 03
2
cygwin1.dll problems when installing packages from source
...s/Bart/LogitBartModel.o] Error 127
>> Warning: running command 'make -f "Makevars" -f
>> "C:/R/R-34~1.0/etc/i386/Makeconf" -f
>> "C:/R/R-34~1.0/share/make/winshlib.mk" -f
>> "C:/Users/john/Documents/.R/Makevars" CXX='$(CXX11) $(CXX11STD)'
>> CXXFLAGS='$(CXX11FLAGS)' CXXPICFLAGS='$(CXX11PICFLAGS)'
>> SHLIB_LDFLAGS='$(SHLIB_CXX11LDFLAGS)' SHLIB_LD='$(SHLIB_CXX11LD)'
>> SHLIB="Boom.dll" ' had status 2
>> ERROR: compilation failed for package 'Boom'
>...
2017 Jun 03
0
cygwin1.dll problems when installing packages from source
...make: *** [Models/Bart/LogitBartModel.o] Error 127
> Warning: running command 'make -f "Makevars" -f
> "C:/R/R-34~1.0/etc/i386/Makeconf" -f
> "C:/R/R-34~1.0/share/make/winshlib.mk" -f
> "C:/Users/john/Documents/.R/Makevars" CXX='$(CXX11) $(CXX11STD)'
> CXXFLAGS='$(CXX11FLAGS)' CXXPICFLAGS='$(CXX11PICFLAGS)'
> SHLIB_LDFLAGS='$(SHLIB_CXX11LDFLAGS)' SHLIB_LD='$(SHLIB_CXX11LD)'
> SHLIB="Boom.dll" ' had status 2
> ERROR: compilation failed for package 'Boom'
> * removing '...
2017 Jun 03
0
cygwin1.dll problems when installing packages from source
...Warning: running command 'make -f "Makevars" -f
> "C:/R/R-34~1.0/etc/i386/Makeconf" -f
> "C:/R/R-34~1.0/share/make/winshlib.mk <http://winshlib.mk>" -f
> "C:/Users/john/Documents/.R/Makevars" CXX='$(CXX11) $(CXX11STD)'
> CXXFLAGS='$(CXX11FLAGS)' CXXPICFLAGS='$(CXX11PICFLAGS)'
> SHLIB_LDFLAGS='$(SHLIB_CXX11LDFLAGS)' SHLIB_LD='$(SHLIB_CXX11LD)'
> SHLIB="Boom.dll" ' had status 2
> ERROR: compilation failed for package ...
2019 Sep 04
0
possible bug in R's configure check for C++11 features
...7" \
> CFLAGS="-Wall -mtune=amdfam10 -g -O2 -I${CONDA_PREFIX}/include"\
> CXXFLAGS="-Wall -mtune=amdfam10 -g -O2 -I${CONDA_PREFIX}/include" \
> F77FLAGS="-Wall -g -O2 -mtune=amdfam10 -I${CONDA_PREFIX}/include" \
> CXX11="g++" \
> CXX11STD="-std=c++11" \
> CXX11FLAGS="-Wall -mtune=amdfam10 -g -O2 -I${CONDA_PREFIX}/include" \
> CXX11PICFLAGS="-fPIC" \
>
> Where $CONDA_PREFIX is given in my script.
>
> The output in config.log is given below. Note that in the test for c++98,
> it...
2017 Mar 19
3
Experimental CXX_STD problem in R 3.4
C++ support across different platforms is now very heterogeneous. The standard is evolving rapidly but there are also platforms in current use that do not support the recent iterations of the standard. Our goal for R 3.4.0 is to give as much flexibility as possible. The default compiler is whatever you get "out of the box" without setting the "-std=" flag. This means different
2017 Apr 19
5
R 3.4 has broken C++11 support
Hi!
Well, my linux distribution has very recent versions
of everything, so a working C++11 compiler exists:
$ gcc --version | head -n1
gcc (GCC) 6.3.1 20170306
Could wrong ./configure options be at fault here? See:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=r-devel#n40
My sessionInfo():
$ R-devel --slave -e 'sessionInfo()' | head -n3
R Under development (unstable)