david
November 2, 2026, 4:09pm
1
Hi!
I tried to compile Agent++ 4.7.2 with MSVC and C++20 enabled.
It won’t work, because of operator overload resolution failures, as the equality (and lt/gt) operator for the MibTableRow class are not marked const.
It’s a cheap fix I’d recommend to apply. Maybe there are more missing const qualifiers, but those are build breakers.
AGENTPP
November 2, 2026, 11:08pm
2
Hi David,
Please try with AGENT++ 5.0.2. It should compile fine with C++20 and C++23.
Best regards,
Frank
david
November 3, 2026, 7:55am
3
Hi Frank,
thank you for the suggestion, but upgrading a major dependency version is more work thn currently feasable That’s why I tried, and as described, the fix is really cheap.
Regards,
David