Hi,
Can you tell me what's the problem with click header files? because when I want
to compile one of it's .cc files, I get these errors:
$ g++ ipencap.cc
/usr/local/include/click/glue.hh:110: error: expected constructor, destructor,
or type conversion before extern
/usr/local/include/click/glue.hh:130: error: expected constructor, destructor,
or type conversion before void
/usr/local/include/click/glue.hh:227: error: expected constructor, destructor,
or type conversion before unsigned
/usr/local/include/click/glue.hh:271: error: expected constructor, destructor,
or type conversion before inline
/usr/local/include/click/glue.hh:357: error: expected constructor, destructor,
or type conversion before class
/usr/local/include/click/glue.hh:358: error: expected constructor, destructor,
or type conversion before & token
/usr/local/include/click/glue.hh:359: error: CLICK_ENDDECLS does not name a
type
/usr/local/include/click/vector.hh:75: error: expected initializer before <
token
/usr/local/include/click/vector.hh:84: error: expected initializer before <
token
/usr/local/include/click/vector.hh:91: error: expected nested-name-specifier
before Vector
/usr/local/include/click/vector.hh:91: error: expected initializer before <
token
/usr/local/include/click/vector.hh:99: error: Vector is not a template
/usr/local/include/click/vector.hh:99: error: explicit specialization of
non-template Vector
/usr/local/include/click/vector.hh:114: error: Vector is not a template
/usr/local/include/click/vector.hh:117: error: Vector is not a template
/usr/local/include/click/vector.hh:117: error: Vector is not a template
/usr/local/include/click/vector.hh:118: error: Vector is not a template
/usr/local/include/click/vector.hh:151: error: Vector is not a template
/usr/local/include/click/vector.hh: In member function void*&
Vector::operator[](int):
/usr/local/include/click/vector.hh:134: error: assert was not declared in
this scope
/usr/local/include/click/vector.hh: In member function void*
Vector::operator[](int) const:
/usr/local/include/click/vector.hh:135: error: assert was not declared in
this scope
kalin
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.
_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click