Hi,

i wish to use IsNeighbor() function in agent.cc
but when i include god.h: #include "god.h"
i get the following errors:
In file included from ./nix/nixnode.h:9,
                 from common/agent.cc:57:
./routealgo/rnode.h:52: error: expected init-declarator before '<' token
./routealgo/rnode.h:52: error: expected `,' or `;' before '<' token
./routealgo/rnode.h:53: error: `RNodeVec_t' has not been declared
./routealgo/rnode.h:53: error: expected init-declarator before "RNodeVec_it"
./routealgo/rnode.h:53: error: expected `,' or `;' before "RNodeVec_it"
./routealgo/rnode.h:60: error: expected init-declarator before '<' token
./routealgo/rnode.h:60: error: expected `,' or `;' before '<' token
./routealgo/rnode.h:61: error: `RoutingVec_t' has not been declared
./routealgo/rnode.h:61: error: expected init-declarator before
"RoutingVec_it"
./routealgo/rnode.h:61: error: expected `,' or `;' before "RoutingVec_it"
./routealgo/rnode.h:64: error: expected init-declarator before '<' token
./routealgo/rnode.h:64: error: expected `,' or `;' before '<' token
./routealgo/rnode.h:65: error: `DistVec_t' has not been declared
./routealgo/rnode.h:65: error: expected init-declarator before "DistVec_it"
./routealgo/rnode.h:65: error: expected `,' or `;' before "DistVec_it"
In file included from common/agent.cc:57:
./nix/nixnode.h:21: error: expected init-declarator before '<' token
./nix/nixnode.h:21: error: expected `,' or `;' before '<' token
./nix/nixnode.h:22: error: `EdgeVec_t' has not been declared
./nix/nixnode.h:22: error: expected init-declarator before "EdgeVec_it"
./nix/nixnode.h:22: error: expected `,' or `;' before "EdgeVec_it"
./nix/nixnode.h:24: error: expected init-declarator before '<' token
./nix/nixnode.h:24: error: expected `,' or `;' before '<' token
./nix/nixnode.h:25: error: `ObjVec_t' has not been declared
./nix/nixnode.h:25: error: expected init-declarator before "ObjVec_it"
./nix/nixnode.h:25: error: expected `,' or `;' before "ObjVec_it"
./nix/nixnode.h:51: error: `EdgeVec_t' does not name a type
./nix/nixnode.h:52: error: `ObjVec_t' does not name a type

line 57 consists of (i haven't changed these files):
#ifdef HAVE_STL
#include "nix/hdr_nv.h"
#include "nix/nixnode.h"
#endif //HAVE_STL


anyone have any ideas what the issue is.
i urgently need to resolve this. many thanks

nouri

Reply via email to