From edd at debian.org  Wed Feb 10 23:06:24 2010
From: edd at debian.org (Dirk Eddelbuettel)
Date: Wed, 10 Feb 2010 16:06:24 -0600
Subject: [Rd] wcstombs error when compiling package with Debian/Ubuntu
In-Reply-To: <4B7327C1.6050803@aon.at>
References: <4B731ECA.304@aon.at> <19315.8839.209171.339462@ron.nulle.part>
	<4B7327C1.6050803@aon.at>
Message-ID: <19315.11744.149268.583099@ron.nulle.part>


Christian,

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.

Dirk

-- 
  Registration is open for the 2nd International conference R / Finance 2010
  See http://www.RinFinance.com for details, and see you in Chicago in April!



[Rd] wcstombs error when compiling package with Debian/Ubuntu
Dirk Eddelbuettel