Re: [Rd] wcstombs error when compiling package with Debian/Ubuntu

2010-02-10 Thread cstrato
Dear Dirk, 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

Re: [Rd] wcstombs error when compiling package with Debian/Ubuntu

2010-02-10 Thread cstrato
Dear Prof. Ripley, Thank you for this extensive explanation. 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 my package depends on ROOT I have assumed tha

Re: [Rd] wcstombs error when compiling package with Debian/Ubuntu

2010-02-10 Thread Dirk Eddelbuettel
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 | ", and as you can see from: | https://stat.ethz.ch/pi

Re: [Rd] wcstombs error when compiling package with Debian/Ubuntu

2010-02-10 Thread Prof Brian Ripley
Such errors are common when people use older versions of g++ to write their C++ code. Later versions of g++ have somewhat stricter conformance to the C++ standards and catch some lax usage: we've seen it quite a lot for g++ 4.4.x and even more for pre-4.5.0. In all the cases I have seen this

Re: [Rd] wcstombs error when compiling package with Debian/Ubuntu

2010-02-10 Thread cstrato
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 ", and as you can see from: https://stat.ethz.ch/pipermail/bioconductor/2009-August/029192.html adding "#include " to some

Re: [Rd] wcstombs error when compiling package with Debian/Ubuntu

2010-02-10 Thread Dirk Eddelbuettel
Christian, On 10 February 2010 at 22:02, cstrato wrote: | Dear Debian/Ubuntu experts, | | For the second time users of my BioC package reported problems when | trying to compile it on Debian/Ubuntu. | | The error is always the same: "'wcstombs' was not declared in this | scope", see: | https: