[AGENT++] Error in mib.h defines

David Nedde dnedde at integralaccess.com
Tue Apr 19 16:14:46 CEST 2005


The following defines in mib.h should not have a semicolon after them.  The
semicolon prevents them from being used in set_validity().

#define LEAF_VALUE_INITIALIZED          1;
#define LEAF_VALUE_SET                  2;

Also, I was wondering why #defines were used in the system instead of C++
constants?

Thanks,

Dave




More information about the AGENTPP mailing list