header policy question

Evan Teran eteran at alum.rit.edu
Sat Oct 23 01:40:40 CEST 2010


One thing I've noticed in the kcalc source is the usage of things like
#include <stdlib.h> as opposed to #include <cstdlib>.

I remember a long time ago someone told me this was for portability
reasons. Makes sense, I figure there has to be some platform out there
that KDE supports that doesn't have a compliant compiler.

But then I noticed during my recent work sporadic usage of the c++
convention.  So my question is, is this compatability argument out of
date? Does KDE have a policy with regard to using the c++ style
headers for the legacy c headers?

Thanks,
Evan Teran


More information about the Kde-utils-devel mailing list