[Rd] wcstombs error when compiling package with Debian/Ubuntu
cstrato at aon.at
Thu Feb 11 00:08:58 CET 2010
The compiler version of OpenSUSE11.1 is "gcc version 4.3.2" whereas
Ubuntu uses "gcc 4.4.1". Interestingly, the first complaint was a Debian
testing (squeeze) user with "gcc-4.3".
Since it seems to be a problem of "recent-vs-older g++ versions" I will
include the header file.
I did not realize that there is a dedicated r-sig-debian mailing list,
which I will use next time.
Dirk Eddelbuettel wrote:
> On 10 February 2010 at 22:40, cstrato wrote:
> | Dear Dirk,
> | Thank you for your fast reply.
> | I am afraid that a small self-contained example will not solve the
> | problem, since in this example I would need to add "#include
> | <stdlib.h>", and as you can see from:
> | https://stat.ethz.ch/pipermail/bioconductor/2009-August/029192.html
> | adding "#include <stdlib.h>" to some C++ *.cxx files did solve the problem.
> | The question is, why did this user need to add "#include <stdlib.h>" on
> | Debian, while this is not necessary on OpenSUSE11.1 and MacOS X?
> That is difficult to say given the limited information you provided [ hint:
> next time please list compiler, libc, and libstdc++ versions ] but one common
> pattern is more recent-vs-older g++ versions as newer ones became more picky
> about missing header includes.
> This is now off-topic for r-devel so let's move it off-list.
More information about the R-devel