GROUP typedef in winsock2.h clash
javalist
javalist____21cn.com
Thu Apr 13 14:11:15 CEST 2000
Hello Gary,
Thursday, April 13, 2000, 4:02:10 PM, you wrote:
MG> Are there any plans to put agent++ (and snmp++) into their own namespace?
MG> I also have a conflict with the OK() functions in the *map.h files. OK is a
MG> #define in another library, so I end up having to resolve these conflicts
MG> myself (at each new release). If everyone used namespaces (even if it is
MG> within a conditional include to support non namespace compilers) it greatly
MG> simplify this (IMHO).
As I know , namespace will not affect typedef,it only affect
variable and functions and class ,the define and typedef in a
namespace is still global...
MG> -----Original Message-----
MG> From: Frank.Fock at t-online.de [mailto:Frank.Fock at t-online.de]
MG> Sent: 12 April 2000 21:57
MG> To: Guy.HINDELL at opentrade.co.uk
MG> Cc: agentpp-dl at fock.de
MG> Subject: Re: GROUP typedef in winsock2.h clash
MG> 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;
>>
MG> Hi Guy,
MG> thanks for the hint. This will be fixed in AGENT++v3.4.
MG> Best regards,
MG> Frank
Best regards,
javalist mailto:javalist at 21cn.com
More information about the AGENTPP
mailing list