GROUP typedef in winsock2.h clash

McWilliams, Gary gmcwilliams____cccnetsys.com
Thu Apr 13 10:02:10 CEST 2000


Are there any plans to put agent++ (and snmp++) into their own namespace?

I also have a conflict with the OK() functions in the *map.h files. OK is a
#define in another library, so I end up having to resolve these conflicts
myself (at each new release). If everyone used namespaces (even if it is
within a conditional include to support non namespace compilers) it greatly
simplify this (IMHO).


-----Original Message-----
From: Frank.Fock____t-online.de [mailto:Frank.Fock____t-online.de]
Sent: 12 April 2000 21:57
To: Guy.HINDELL____opentrade.co.uk
Cc: agentpp-dl____fock.de
Subject: Re: GROUP typedef in winsock2.h clash




Guy.HINDELL____opentrade.co.uk wrote:

> Unfortunately winsock2.h includes the following typedef...
>
> typedef unsigned int             GROUP;
>
> which conflicts with the enumeration of 'mib_type' in mib_entry.h...
>
> typedef enum { NONE, SHADOW, PROXY, LEAF, TABLE, GROUP, COMPLEX,
>                AGENTX_NODE, AGENTX_LEAF } mib_type;
>

Hi Guy,

thanks for the hint. This will be fixed in AGENT++v3.4.

Best regards,
Frank




More information about the AGENTPP mailing list