What happened?
Robert
luoxianlu____huawei.com
Mon Jun 5 10:01:35 CEST 2000
Hi, Jochen
After modify them according to your mail, other two errors come out:
snmp++\include\address.h(180) : error C2678: binary '>' : no operator defined which takes a left-hand operand of type 'const class Address' (or there is no acceptable conversion)
snmp++\include\address.h(187) : error C2678: binary '<' : no operator defined which takes a left-hand operand of type 'const class Address' (or there is no acceptable conversion)
So, is there conflict of operators?
I am confused.
Thanks a lot .
Regards,
Robert
----- Original Message -----
From: "Jochen Katz" <katz____agentpp.com>
To: "Robert" <luoxianlu____huawei.com>
Cc: "agent pp" <agentpp-dl____agentpp.com>
Sent: Thursday, June 05, 2003 5:08 AM
Subject: Re: What happened?
> Hi,
>
> > When I replace the snmp++ 3.2.1b with 3.2.7c , there are many errors
> > like the following:
>
> from the Changelog I would assume that you will get compilation errors
> in your code (Most of them should be easy to fix), but...
>
> > snmp++\include\oid.h(416) : error C2678: binary '<' : no operator
> > defined which takes a left-hand operand of type 'const class Oid' (or
> > there is no acceptable conversion)
>
> ... not something like this. As it compiles for me, I would assume some
> compiler setting that leads to this problem with this inline function.
> You could move the function to oid.cpp as a workaround.
>
> Regards,
> Jochen
>
>
More information about the AGENTPP
mailing list