From: SourceForge.net <no...@so...> - 2003-10-25 22:52:24
|
Bugs item #828671, was opened at 2003-10-23 00:34 Message generated for change (Comment added) made by rstory You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=828671&group_id=12694 Category: library Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: The lib isn't C++ compatible Initial Comment: In the file <net-snmp/library/container.h> (part of the public interface, have got C++ include guards) there is struct member named 'private' but private is a reserved word in C++ In the same file there is on line 161 the construction struct net_snmp_container_it *get_iterator; but net_snmp_container_it is not a struct but a typedef. The first problem is fixed by chosing another name on the variable The second problem is fixed by removing the 'struct' keyword The first item is true for all versions of those files. The second item is true since version 1.3 (since July 2002) /MF <ne...@us...> ---------------------------------------------------------------------- >Comment By: Robert Story (rstory) Date: 2003-10-24 10:52 Message: Logged In: YES user_id=76148 this has been fixed for release 5.1.pre3 and later. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=828671&group_id=12694 |