2009/8/27 Jan Safranek <[email protected]>:
> as preparation to move to net-snmp-5.5 in Fedora I have tried to
> recompile all packages which depends on it with net-snmp-5.5.rc2. Most
> of them compiled successfully, but I have found some packages that
> failed because of changes in public headers.

Disappointing, but not too surprising...


> - we should rename MIB to NETSNMP_MIB to prevent such errors (but
> something else might fail, if it depends on the MIB being defined...)

That feels the most sensible approach to me.
Though given what this definition represents,
the name probably ought to be something like

    NETSNMP_MIB2_OID

We should perhaps also include a compatability definition,
along the lines of:

   #ifndef NETSNMP_NO_LEGACY_DEFINITIONS
   #define MIB NETSNMP_MIB2_OID
   #endif

Dave

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to