Skip to content
Prev 35843 / 63424 Next

wcstombs error when compiling package with Debian/Ubuntu

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 that <stdlib.h> was 
declared in their headers, which is only the case for Sun. Thus it seems 
that I need to add <cstdlib> to my respective implementation files.

Best regards
Christian
Prof Brian Ripley wrote: