[csw-maintainers] cstdlib vs stdlib.h in Sun Studio 11
Roger Håkansson
hson at opencsw.org
Thu Mar 11 09:43:47 CET 2010
On 2010-03-11 09:21, Maciej (Matchek) Blizinski wrote:
> I've had a problem while compiling poppler: the #include<cstdlib>
> line was present, but functions such as malloc() were missing. The
> compiler was CC, not cc. Changing the include line to #include
> <stdlib.h> allowed to compile poppler.
>
> ...but #include<cstdlib> is the C++ standard, isn't it? Why is Sun
> Studio 11 C++ compiler doing this and how to make it stop?
This might give you some insight into what is happening.
http://docs.sun.com/source/819-3689/Ch4.Libs.html#pgfId-9101
More information about the maintainers
mailing list