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

Miso Liptak mehturt at gmail.com
Tue Apr 24 08:25:20 CEST 2007


Thanks for pointing this out.. I did not know about it.
However I did not find this error being mentioned before
m.

On 4/23/07, michael.carr at bt.com <michael.carr at bt.com> wrote:
> It's possible to search the archive by using the advanced search on
> Google (e.g. http://www.google.co.uk/advanced_search?hl=en) and just add
> the archive address (http://lists.agentpp.org/pipermail/agentpp/) to the
> "Domain" to search.
>
> -----Original Message-----
> From: agentpp-bounces at agentpp.org [mailto:agentpp-bounces at agentpp.org]
> On Behalf Of Miso Liptak
> Sent: Monday, April 23, 2007 3:52 PM
> To: agentpp at agentpp.org
> Subject: [AGENT++] compile error with g++ 4.2 on GNU/Linux
>
> 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.
> _______________________________________________
> AGENTPP mailing list
> AGENTPP at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/agentpp
>



More information about the AGENTPP mailing list