Magnus Fromreide wrote:
> I wasn't aware that we should write the implementations in the common
> subset of C and C++ but if that is the case then I could do so.
> All of the reports below are the result of code like
> aType* foo = malloc(sizeof(aType));
> and that is perfectly valid C, but it could be changed to
> aType* foo = (aType*)malloc(sizeof(aType));
> to move it into the common subset of C and C++.

As most of the code already builds fine with g++, /me thinks it should
be done.


Thomas Anders (thomas.anders at

Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
Net-snmp-coders mailing list