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 -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
