[AGENT++] compile error with g++ 4.2 on GNU/Linux

Jochen Katz katz at agentpp.com
Tue Apr 24 20:35:20 CEST 2007


Hi,

> I can't compile agent++/agentX++ using g++ 4.2 on GNU/Linux, getting
> the following error:
> 
> || In file included from ../include/agentx_pp/agentx.h:28,
> ||                  from ../include/agentx_pp/agentx_master.h:26,
> ||                  from agentx_master.cpp:24:
> || ../include/agentx_pp/agentx_pdu.h: In member function 'virtual void
> Agentpp::AgentXPdu::set_region(const Agentpp::AgentXRegion&)':
> /home/me/opt/src/snmp/agentX++/src/../include/agentx_pp/agentx_pdu.h|673|
> error: invalid use of array with unspecified bounds
> /home/me/opt/src/snmp/agentX++/src/../include/agentx_pp/agentx_pdu.h|673|
> confused by earlier errors, bailing out

looking at the source, I cannot see any error in this code. And neither
does gcc-4.2.0-20070316.

Regards,
  Jochen




More information about the AGENTPP mailing list