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

Miso Liptak mehturt at gmail.com
Mon Apr 23 16:51:50 CEST 2007


Hi, since I can't find a way to search the archives I don't know
whether this was asked before or not.
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

However with g++ 4.1 it compiles.
Using g++ 4.2-20070405-1 from Debian experimental.

m.



More information about the AGENTPP mailing list