Displaying 3 results from an estimated 3 matches for "020af1fe3ba2".
2024 May 21
1
Default CXXFLAGS
...sources.debian.org/src/r-base/4.4.0-2/debian/rules/#L101
...which later propagares to cxxflags = $(optimflags) and
eventually CXXFLAGS="$(cxxflags)" ... ./configure.
On Sid, dpkg-buildflags --get CFLAGS includes
-Werror=implicit-function-declaration, which g++ doesn't like:
root at 020af1fe3ba2:/# g++ -Werror=implicit-function-declaration -c ex.cpp
cc1plus: warning: '-Werror=' argument
'-Werror=implicit-function-declaration' is not valid for C++
--
Best regards,
Ivan
2024 May 21
1
Default CXXFLAGS
On 21 May 2024 at 13:01, Jeroen Ooms wrote:
| Compiling packages with C++ code using the default r-base-dev
| configuration on debian:sid shows a lot of:
|
| cc1plus: warning: '-Werror=' argument
| '-Werror=implicit-function-declaration' is not valid for C++
|
| Can this flag be removed from R CMD config CXXFLAGS?
"No."
That was quoting Simon Urbanek from a few
2024 May 21
1
Default CXXFLAGS
...base/4.4.0-2/debian/rules/#L101
> ...which later propagares to cxxflags = $(optimflags) and
> eventually CXXFLAGS="$(cxxflags)" ... ./configure.
> On Sid, dpkg-buildflags --get CFLAGS includes
> -Werror=implicit-function-declaration, which g++ doesn't like:
> root at 020af1fe3ba2:/# g++ -Werror=implicit-function-declaration -c ex.cpp
> cc1plus: warning: '-Werror=' argument
> '-Werror=implicit-function-declaration' is not valid for C++
> --
> Best regards,
> Ivan
> _______________________________________________
> R-SIG-Debian mailing...